Hi,

On 03/28/09 14:06, Miguel Angel Chavez Alfonso wrote:
> Hi people I'm working in a project to graph using VTK. I'm using the class 
> XYPlotActor and I need to graph 2 or more points inside of XYPlotActor actor. 
> I was trying with vtkPoints. With this code I see that I can draw a point but 
> I can't put its inside of my XYPlotActor actor.
> How I can draw 2 or more points inside my XYPlotActor actor?
> 
> 
> the image attached represent my program using XYPlotActor
> The main idea is graph the X and the Y grids in a vtkXYPlotActor figure like 
> the image With Grid X and Y.png

Here is the response I sent you off-list so this is archived.

Mayavi focuses on the 3D visualization since there are other excellent 
tools for 2D plotting in Python namely, matplotlib and Chaco.

I haven't used the XYPlotActor but there are definitely some nice 
examples of its use in VTK.  Look at the VTK sources and look at these 
examples:

  Examples/Annotation/Python/xyPlot.py
  Examples/Annotation/Tcl/xyPlot.tcl
  Examples/GUI/Tcl/ProbeWithSplineWidget.tcl



regards,
prabhu

------------------------------------------------------------------------------
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to