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

David Doria daviddoria+vtk at gmail.com
Thu Jul 29 09:47:16 EDT 2010


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.

Thanks,

David



More information about the vtkusers mailing list