ylabel rotation

Ben Abbott bpabbott at mac.com
Thu Jan 29 18:16:42 CST 2009


On Jan 29, 2009, at 5:24 PM, John W. Eaton wrote:

> On 29-Jan-2009, Ben Abbott wrote:
>
> | >No, it was intended.  The idea was that the {x,y,z}label functions
> | >should not be creating new text objects, but should simply set  
> values
> | >in the existing text object that is a child of the axes object, and
> | >that those objects should be created with the proper defaults.  I
> | >thought I also made that change.  When I execute
> | >
> | >  get (get (gca, 'ylabel'), 'rotation')
> | >
> | >I get 90 and ylabel ('foo') sets foo as the label and it is  
> rotated.
> | >So it seems to be working for me.  In what cases does it fail?
> | >
> | >jwe
> |
> | Before commenting further, I should compile and make sure my build  
> isn't out of date.
> |
> | I'll report back in an hour or two.
>
> I think I see the problem.  It happens with
>
>  plot (1:10)
>  ylabel ("foo")
>
> but not some other cases.  Anyway, does the following change fix it
> for you?  It seems to work for me, so I checked it in.
>
> Thanks,
>
> jwe

Yes it works!

Thanks




More information about the Octave-maintainers mailing list