[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34149] calling axis after plotyy sets y2 but
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #34149] calling axis after plotyy sets y2 but not y2 range |
Date: |
Fri, 02 Sep 2011 01:43:04 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.218 Safari/535.1 |
Update of bug #34149 (project octave):
Item Group: Incorrect Result => None
Status: None => Invalid
_______________________________________________________
Follow-up Comment #3:
plotyy creates two axes (as indicated by the help text).
axis(...) operates on the current axes only.
I tested the example below on both Octave and Matlab.
>> x = 0:0.1:1;
>> plotyy(x,sin(x),x,cos(x))
>> axis ([0 2 0 1])
In both cases, only the x-axis limits for the 2nd (green cos(x)) changed.
Unless there is something I've missed, Octave is behaving as it should.
Perhaps a change in the documentation is merited. I'm open pushing a change.
Any suggestions?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34149>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34149] calling axis after plotyy sets y2 but not y2 range,
Ben Abbott <=