[vtkusers] Y axis title, Vertical orientation

John L. Papp jpapp at craft-tech.com
Tue Sep 19 09:15:28 EDT 2006


Last message on this topic in the mailing list was from 2003 and was not 
answered.

How can you change the orientation of text (either title, lable, or 
axis) within a vtkXYPlotActor?  Following the examples produces no results.

(Java Code)

xyPlotActor.SetTitle("This is the Title");
vtkTextProperty tprop = xyPlotActor.GetTitleTextProperty();
tprop.SetColor(0,0,0);
tprop.SetOrientation(90.0);
xyPlotActor.SetAxisTitleTextProperty(tprop);

The text color is changed to black but the orientation is the same, 
i.e., horizontal no matter what degree value I put in orientation 
routine.  What gives?

John Papp



-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 8/15/2006




More information about the vtkusers mailing list