how to autoscale the figures?
Ben Abbott
bpabbott at mac.com
Fri Nov 28 19:37:48 CST 2008
On Nov 27, 2008, at 10:06 PM, 林蔚廷 wrote:
> Hello , I'm new to Octave.
> I found out Octave is like Matlab and I feel great.
> But I met a liitle problem about plotting.
>
> When using Matlab, we can zoom in the figure and then press
> "autoscale" to get the original size.
> But in Octave, it seems that the figure can not be rescaled, and I
> have to redraw the figure.
>
> Is there any method to solve this problem?
> I use the default Gnuplot to plot, and the Gnuplot have the ability
> to do that("terminal = wxt"?).
>
> Thank you.
The wxt window is displayed by gnuplot. It may be possible to patch
gnuplot to do what you'd like, but at the present time the
communication between octave and gnuplot is one directional, so octave
would e unaware of the change.
There is an effort to develop a new back-end for octave that would
support such behavior. Thus, the functionality you seek will (should)
eventually be implemented.
If you are inclined to contribute to the effort your help would be
greatly appreciated.
Ben
More information about the Help-octave
mailing list