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:31:52 -0400

On Sep 8, 2011, at 10:24 AM, indium wrote:

> On Thu, Sep 08, 2011 at 10:20:20AM -0400, Ben Abbott 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?  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
>> 
> Okay, thanks for the quick answer. 
> 
> Is there a way to get the 'screen-coordinate' positions of the standard
> tick mark labels?

Unfortunately, there is not.

Ben


reply via email to

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