help-octave
[Top][All Lists]
Advanced

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

Re: Setting the y axis range of a plot


From: Ploett Norbert
Subject: Re: Setting the y axis range of a plot
Date: Fri, 19 Nov 2004 10:57:25 +0100

Avraham,

works fine, I can even do it on a single line:

axis([0 1 50 350], "autox")


Norbert

-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Auftrag
von address@hidden
Gesendet: Freitag, 19. November 2004 10:25
An: Ploett Norbert
Cc: address@hidden
Betreff: Re: Setting the y axis range of a plot


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
-------------------------------------------------------------



-------------------------------------------------------------
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]