help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 90-deg rotated tick mark labels


From: Jordi Gutiérrez Hermoso
Subject: Re: 90-deg rotated tick mark labels
Date: Thu, 8 Sep 2011 11:05:08 -0500

2011/9/8 John W. Eaton <address@hidden>:
> On  8-Sep-2011, Jordi Gutiérrez Hermoso wrote:
>
> | > On Sep 8, 2011, at 9:58 AM, indium wrote:
> | >
> | >> Dear all,
> | >>
> | >> There is a 'rotation' property of text, but not of the tick labels.
> | >> Can this be added?
> |
> | On 8 September 2011 09:20, Ben Abbott <address@hidden> wrote:
> | > Octave isn't able to do this in a convenient way.
> |
> | Should we add this to the wishlist? I recently had to use matplotlib
> | for plotting, and they do have a rotation property for tick labels.
> | Seems like a desirable thing.
>
> What is the property called in matplotlib?  It seems to me it should
> be {x,y,z}ticklabelrotation.

In matplotlib you can do something like

    xticks(vec_of_tick_positions, vec_of_ticklabels, rotation=20,
fontsize=12, etc=stuff)

and it will rotate the ticks. I think for us your suggestion makes
more sense. Matlab doesn't have such a property at all either, right?

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]