[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
constrain yaxis limits
From: |
kamaraju kusumanchi |
Subject: |
constrain yaxis limits |
Date: |
Tue, 27 Jul 2010 11:52:25 -0400 |
Is it possible to just set limits on the y-axis and autoscale the
x-axis? I want the y-axis to always range from [-1:1]. The x-axis
limits are chosen automatically from the data
nu=100; u=rand(nu,1); v=rand(nu,1); w=u+v; plot(w, '-+'); grid
I looked in the documentation about axis( limits) function. It says
the limits vector should be a 2, 4, 6 element vector specifying the
limits on x,y,z axis. However in my case, I do not know the limits on
x, but only on y. Any suggestions/comments?
Using octave 3.2.4 on Debian
thanks
raju
--
Kamaraju S. Kusumanchi
http://malayamaarutham.blogspot.com/
- constrain yaxis limits,
kamaraju kusumanchi <=