[vtkusers] Recommended way to create a 2D scatter plot

Ben Medina ben.medina at gmail.com
Thu Jul 29 12:53:43 EDT 2010


Excellent. Marcus, please let me know when you've committed the test
so I can have a look.

Thanks,
Ben

On Thu, Jul 29, 2010 at 7:18 AM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Thu, Jul 29, 2010 at 9:47 AM, David Doria <daviddoria+vtk at gmail.com>
> wrote:
>>
>> On Wed, Jul 28, 2010 at 7:21 PM, Ben Medina <ben.medina at gmail.com> wrote:
>> > Great! I'm a bit confused about why one uses a PolyDataMapper and
>> > Actor, rather than a PolyDataMapper2D and Actor2D as I had been doing.
>> >
>> > Now is there any way to add 2D axes to the plot?
>> >
>> > Going forward, is this still the preferred way of creating 2D scatter
>> > plots, or will the charts API take over?
>> >
>> > Thanks,
>> > Ben
>>
>> If you want an actual scatter plot with axes you should definitely use
>> the Charts API that Marcus has been developing. He said he will be
>> adding a scatter plot example to src/VTK/Charts/Testing/Cxx very soon.
>>
> I have an example test locally, I will try to get it committed today so that
> you can take a look. The 2D chart stuff in VTK is the preferred way to
> create scatter plots going forward, more features will be added but basic
> scatter plots are already possible.
> Marcus
> --
> Marcus D. Hanwell, Ph.D.
> R&D Engineer, Kitware Inc.
> (518) 881-4937



More information about the vtkusers mailing list