[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting the y axis range of a plot
From: |
mavram |
Subject: |
Re: Setting the y axis range of a plot |
Date: |
Fri, 19 Nov 2004 11:25:20 +0200 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Fri, Nov 19, 2004 at 09:07:10AM +0100, Ploett Norbert wrote:
> Hello,
>
> got any ideas for me? I want to set the range for the y axis of a plot, but
> leave the x axis in "auto" mode. The axis command allows to set the x range
> and leave the y range "auto" (by specifying a 2 element vector only), but
> not the other way round.
>
>
> Norbert
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
>
Hi Norbert,
In such cases I use: axis([0,1, miny, maxy]); axis "autox";
The values you give for the x axis are dummies, they are ignored because
of the axis "autox" command. Only, if I am not mistaken, if the first
value is larger than the first, the direction of the x axis is reversed.
Octave 2.57 on debian testing.
Good luck, Avraham
-------------------------------------------------------------
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
-------------------------------------------------------------