help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting y-axis scale with axis();


From: Joe Koski
Subject: Setting y-axis scale with axis();
Date: Mon, 25 Apr 2005 12:55:03 -0600
User-agent: Microsoft-Entourage/11.1.0.040913

When you do help axis, you get

   - Function File:  axis (LIMITS)
     Set axis limits for plots.

     The argument LIMITS should be a 2, 4, or 6 element vector.  The
     first and second elements specify the lower and upper limits for
     the x axis.  The third and fourth specify the limits for the y
     axis, and the fifth and sixth specify the limits for the z axis.

which is clear enough, but how can you, for example, let the x-axis be
automatic, and set limits for the y-axis only? I couldn't find an example of
that usage of axis.

(I'm still trying to replace all of my old gset commands with "proper
Octave.")

Joe




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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