|
Hi,
Does anybody know how to zoom in Octave? Thanks in advance, Fernando _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
>Does anybody know how to zoom in Octave?
What platform? How did you get Octave and installed it? Have you searched the archives for the "zoom" keyword? -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: [hidden email] (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
Kubuntu 9.04.
I have installed Octave through the KPackageKit installer. I didn't know it could depend on these things. The answer I get from Octave to the command "help zoom" is: zoom ... Compatibility function; does nothing /usr/share/octave/packages/plot-1.0.5/zoom.m 2009/4/29 Francesco Potorti` <[hidden email]>
_______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
>The answer I get from Octave to the command "help zoom" is:
> >zoom ... > Compatibility function; does nothing >/usr/share/octave/packages/plot-1.0.5/zoom.m I did not know of such a function. What you can do in the Gnuplot window is to right-click twice on the plot window: the two points where you click define a rectangular window which is then zoomed. You revert to the 1:1 zoom by clicking the 'a' key. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: [hidden email] (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
On Apr 30, 2009, at 11:59 AM, Francesco Potorti` wrote:
>> The answer I get from Octave to the command "help zoom" is: >> >> zoom ... >> Compatibility function; does nothing >> /usr/share/octave/packages/plot-1.0.5/zoom.m > > I did not know of such a function. What you can do in the Gnuplot > window is to right-click twice on the plot window: the two points > where > you click define a rectangular window which is then zoomed. You > revert > to the 1:1 zoom by clicking the 'a' key. You can also use axis() or set(gca,"xlim",[low high]) and set(gca,"ylim",[low high]) from the Octave prompt. Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 [hidden email] _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
Francesco: the "right-click twice" doesn't work in my case, I don't know why.
Rob: OK, thanks, but I was looking for a mouse-interactive zoom 2009/4/30 Rob Mahurin <[hidden email]>
_______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
On Apr 30, 2009, at 2:49 PM, Fernando Perez Quintián wrote:
> Francesco: the "right-click twice" doesn't work in my case, I don't > know > why. > Rob: OK, thanks, but I was looking for a mouse-interactive zoom To use mouse-interactive zoom, your gnuplot must have "zooming for dynamic data" enabled. The gnuplot in the current kubuntu is new enough to have this feature, but it might not have been enabled. You can compile gnuplot yourself, or file a bug against kubuntu. Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 [hidden email] _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
>To use mouse-interactive zoom, your gnuplot must have "zooming for
>dynamic data" enabled. The gnuplot in the current kubuntu is new >enough to have this feature, but it might not have been enabled. > >You can compile gnuplot yourself, or file a bug against kubuntu. Sorry, yes, I had forgotten all this... I use a gnuplot packaged for Debian from a gnuplot's snapshot. It should also work in Ubuntu or Kubuntu. Its version number is set at 4.3.0 and it works with mouse zooming with the latest Octave versions. The last changelog entry has date 2008-11-21. If people want it, I can put it on a public server. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: [hidden email] (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
In reply to this post by Rob Mahurin
On Fri, May 1, 2009 at 3:49 PM, Rob Mahurin <[hidden email]> wrote:
> On Apr 30, 2009, at 2:49 PM, Fernando Perez Quintián wrote: >> Francesco: the "right-click twice" doesn't work in my case, I don't >> know >> why. >> Rob: OK, thanks, but I was looking for a mouse-interactive zoom > > To use mouse-interactive zoom, your gnuplot must have "zooming for > dynamic data" enabled. The gnuplot in the current kubuntu is new > enough to have this feature, but it might not have been enabled. The feature is marked experimental and is not enabled by default in gnuplot (even in version 4.3.0). Apparently gnuplot in ubuntu is compiled without this option. > You can compile gnuplot yourself, or file a bug against kubuntu. Build gnuplot with: ./configure --enable-volatile-data <other parameters> make sudo make install and if necessary change the gnuplot's path in octave with: gnuplot_binary ("/usr/local/bin/gnuplot") Having said that, the feature does feel experimental. When there are several subplots in one plot window only the last one responds to interactive commands. Also, if gnuplot encounters an error (like enabling log axis with "L" key for data with values <=0) all subsequent interactive operations will be disabled: "line 6009: warning: refresh not possible and replot is disabled" One more tip for those lacking intuition like me, ;-) pressing "h" in the plot window causes some basic help information to be printed out to the octave console. -r. _______________________________________________ Help-octave mailing list [hidden email] https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
| Powered by Nabble | See how NAML generates this page |
