From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 23 15:57:22 2004 Subject: Re: Axis autoscaling works but gives wrong ans? From: "Dmitri A. Sergatskov" To: "Henry F. Mollet" Cc: Octave_post Date: Fri, 23 Jan 2004 14:56:44 -0700 Henry F. Mollet wrote: > Axis autoscaling works but gives wrong ans? > Henry .... > octave:1> x=y = (0:10)'; > octave:2> plot (x,y) % will use default axis = autoscaling > octave:3> axis ([-1, 11, -1,11]) > octave:4> replot % will use axis ([-1, 11, -1,11]) No. The whole idea of 'replot' is that it repeats previous plot command with the same axis settings etc... If you instead repeat 'plot(x,y)' then you get the axis you specified. Regards, Dmitri. ------------------------------------------------------------- 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 -------------------------------------------------------------