octave-bug-tracker
[Top][All Lists]
Advanced

[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: Romano
Subject: [Octave-bug-tracker] [bug #34149] calling axis after plotyy sets y2 but not y2 range
Date: Fri, 08 Feb 2013 13:37:55 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17

Follow-up Comment #4, bug #34149 (project octave):

No bug, just under-documented,

Your code will work with:

x = 0:0.1:1;
[ax, h1, h2] = plotyy(x,sin(x),x,cos(x))
axes(ax(1))
axis ([0 2 0 1])
axes(ax(2))
axis ([0 2 0 1])

You need to select on which axis you want to set the plot axis limits

Best, R

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34149>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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