[vtkusers] Y axis title, Vertical orientation

Marc Cotran marc at cotran.ca
Tue Sep 19 09:42:14 EDT 2006


John L. Papp wrote:
> 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? 
I can confirm that the orientation variable for vtkTextProperty doesn't 
work as described in C++ as well. If you ever get an answer to this one, 
I would be interested in the solution as well...

Marc



More information about the vtkusers mailing list