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: Ben Abbott
Subject: Re: 90-deg rotated tick mark labels
Date: Thu, 08 Sep 2011 10:20:20 -0400

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?  If not, what would be the procedure to implement
> this manually?  I saw somewhere that people write a routine to replace
> the tick labels by text labels, but I don't see an obvious way to
> extract the 'screen-coordinates' of the (original) tick labels.
> Especially in log-scales the xtick values are not the same as the
> ('linear') screen coordinates.
> 
> many thanks

Octave isn't able to do this in a convenient way.

A work around is to turn the ticklabels off ....

        set (gca, "xticklabel", "")
        set (gca, "yticklabel", "")

... and use the text() function to create your own.

Ben






reply via email to

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