[vtkusers] Y axis title, Vertical orientation
Shankar Sripadham
ssripadham at spectraldimensions.com
Thu Jul 31 13:32:15 EDT 2003
Hi vtk users,
I am using vtkXYPlotActor to plot intensity values vs wavelength values.
Sample code is shown below:
vtkXYPlotActor *plotActor->AddInput(plotData);
plotActor->SetXTitle("Intensity");
plotActor->SetYTitle("Wavelength");
ren->AddActor(plotActor);
renWin->AddRenderer(ren);
My problem has been that the yaxis title is oriented horizontally. I would
like to orient it vertically so that the characters go bottom to top instead
of left to right.
Can anyone please help me with this? I tried looking at the vtkText
property. No luck!
Thanks
Shankar
More information about the vtkusers
mailing list