[vtkusers] vtkXYPlot - Label Y-Axis vertically ?

Kerry Loux louxkr at gmail.com
Tue Mar 31 08:47:21 EDT 2009


Hello,

Have you found a way to do this?  I've been trying to achieve the same
result but thus far have been unsuccessful.  What would it take to be able
to do rotate the Y-axis label 90 degrees?

Thanks,

Kerry

On Mon, Mar 9, 2009 at 11:42 PM, Sumit Kumar <dost_4_ever at yahoo.com> wrote:

>
> Hello VTKUsers
> I have a question regarding vtkXYPlotActor.
> Essentially, I want to generate a XY plot and label the axes. However,
> instead of labeling the axes in the default manner, I would like to label
> them similar to what MATLAB or PLPLOT does. In other words, I would want to
> label the Y-axes vertically and X-Axis horizontally.
> I Try to access the YAxisActor2D() function from the vtkXYPlotActor and
> change the SetOrientation(). However, it does not seem to have any effect.
>
> Can someone please post a workaround to this problem along with a code
> snippet ?
>
> Thanks
>
>
>
>      __________________________________________________________________
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your
> favourite sites. Download it now at
> http://ca.toolbar.yahoo.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090331/a7bd9b18/attachment.htm>


More information about the vtkusers mailing list