ylabel rotation
Ben Abbott
bpabbott at mac.com
Thu Jan 29 15:49:04 CST 2009
On Thursday, January 29, 2009, at 04:42PM, "John W. Eaton" <jwe at octave.org> wrote:
>On 29-Jan-2009, Ben Abbott wrote:
>
>| I noticed you pushed two changes to ylabel.m 8 days ago.
>|
>| The first included the line
>|
>| http://hg.savannah.gnu.org/hgweb/octave/rev/d81caf2e3a28
>|
>| + varargin = {varargin{1}, "rotation", 90, varargin{2:end}};
>|
>| The second removed it.
>|
>| http://hg.savannah.gnu.org/hgweb/octave/rev/ab82e19002c4
>|
>| - varargin = {varargin{1}, "rotation", 90, varargin{2:end}};
>|
>| I assume the second change was unintended?
>
>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.
Ben
More information about the Octave-maintainers
mailing list