help-octave
[Top][All Lists]
Advanced

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

axis('auto') bug


From: Daniel Heiserer
Subject: axis('auto') bug
Date: Sat, 6 Mar 2004 01:53:14 -0600

Hi,

there is a problem using gnuplot as a plotting device at least in
version
"GNU Octave, version 2.1.35 (i386-redhat-linux-gnu)".
The key problem is that octave cannot obtain gnuplot settings
such as the current axis. "axis" as a function works only
properly when the axis where set within octave and gnuplot
had no chance to "auto" scale the plot.

I see two things to fix this:

1) octave is able to read gnuplot settings. So the linking to the
"plotter" 
ist not only uni-directional but bi-directional. This would be a great 
way for enhancements for other functions. Maybe something like a "gget"
according to the "gset" would be great.

2) workaround. octave does not allow gnplot to "autoscale". but gives it
always
the axis. So octave's "axis('auto')" would mean that octave does find
out
how the plot had to be scaled.

best regards,
daniel


octave:11> axis
ans =

  -10   10  -10   10

octave:14> axis([-1,3,0,5])
octave:15> replot
octave:16> axis
ans =

  -1   3   0   5

octave:17> axis('auto')
octave:18> replot
octave:19> axis
ans =

  -1   3   0   5



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