help-octave
[Top][All Lists]
Advanced

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

Auto Scale y axis


From: pauls
Subject: Auto Scale y axis
Date: Thu, 15 May 2014 04:59:34 -0700 (PDT)

Hi All

Please consider the following
x=1:.1:10;
y=sin(x);

plot(x,y)

axis([1 2])

This will change the xscale to 1 to 2, fine. However it doesn't update the
yscale, this is still from -1 to 1.
My understanding is that it should rescale the y axis to the min and max
over the new x scale.

My octave version is 3.6.3

Thanks Paul




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Auto-Scale-y-axis-tp4664091.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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