[vtkusers] vtkXYPlotActor2D

Jason Crane Jason.Crane at mrsc.ucsf.edu
Fri Nov 21 13:01:00 EST 2003


Hi,

Is there a way to turn off all axis labels and titles 
completely in vtkXYPlotActor2D?  I would like to create a 2D 
grid of xy plots directly adjacent to one another with no 
labels or titles, but if I set the number of labels to 0, 
the plot still has 2 labels on each axis (min & max).

xyplotactor->SetNumberOfXLabels(0);
xyplotactor->SetNumberOfYLabels(0);
xyplotactor->SetNumberOfLabels(0);
xyplotactor->SetXTitle("");
xyplotactor->SetYTitle("");

Perhaps there is a better class to use in this case.

Thanks in advance,
Jason




More information about the vtkusers mailing list