|
From: gnychis <gn...@gm...> - 2007-12-13 19:37:51
|
Hi all, I found this thread that discussed the breaking of the zoom feature in inline data: http://www.nabble.com/zooming-of-inline-data-to12416496.html This is a crucial feature, and is blocking me from zooming using Octave. I was wondering if there is a patch floating around or any progress on this. Thanks! George -- View this message in context: http://www.nabble.com/zooming-on-inline-data-tp14323085p14323085.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Tatsuro M. <tma...@ya...> - 2007-12-13 23:35:03
|
Hello What version gnuplot do you use? What your platform is ? Before you ask the question, you should specify those to save time of a replier. Anyway I'll answer. The cvs version of gnuplot has partly solved that from the end of the Aug owing to the extensive efforts by Ethan. See ChangeLog for the cvs version of gnuplot. This is attached latter part of my reply from '*************************'. I mentioned this problem in Octave ML a lot of times. For example, see http://www.nabble.com/Re:-NEWS-file-(was:-missing-and-wrong-colorbar)-p13306068.html If you are unix user or cygwin user, you can build the cvs version of gnuplot very easy. http://www.gnuplot.info/development/index.html If you are the windows native octave user, the cosole mode cvs gnuplot does not exist and you have to abandan your hope at present. If you want use on mouse zooming on windows, use my cygwin binaries. http://www.geocities.jp/tmacchant/ ********************************** 2007-08-31 Ethan Merritt <merritt@u.washington.edu> Version 2.9.? of Octave switched to piping all data to gnuplot in-line rather than via a temporary file. This broke mouse zooming and replot. This patchset is an imperfect fix with several known problems: - Clipping of zoomed 3D contour plots is not correct. - splot volatile with image + zoom + unzoom is flaky - plot -> zoom -> set grid -> unzoom loses the grid setting. - you cannot toggle log scaling on/off while using refresh. Introduce a new command "refresh" that acts like replot except that it does not re-read the input data. Refresh is always needed in order to zoom or replot in-line data (input file '-'), but may optionally applied to normal data files also by appending the attribute 'volatile'. * src/plot2d.c (eval_plots): This is the core change. Instead of freeing stored data after each plot, keep it around in case of a refresh command. The old data storage is freed at the start of the next "plot" or "replot" command. This is parallel to what the 3D code was already doing. Set refresh_ok = 2 at the end of a successful plot. * src/plot3d.c (eval_3dplots): Update comments and remove dead code. Set refresh_ok = 3 at the end of a successful plot. * src/plot2d.c (refresh_bounds) src/plot2d.h * src/plot3d.c (refresh_3dbounds) src/plot3d.h: Provide a mechanism to recheck the INBOUNDS/OUTBOUNDS status of existing data points after changing the current axis limits. * src/command.c (refresh_command refresh_request) src/command.h src/gadgets.c src/gadgets.h src/tables.c: New command "refresh" that acts similarly to "replot" except that it does not re-read input data. * src/axis.h (AXIS_UPDATE2D): Save/restore axis limits for zooming. * src/mouse.c (apply_zoom): Choose between refresh or replot depending on whether the current plot contain volatile data. * src/mouse.c (builtin_toggle_log): Ignore 'l' and 'L' for volatile data * src/set.c (set_logscale) src/unset.c (unset_logscale): Because setting or unsetting log scale changes the way input data is stored, "refresh" cannot work if the log setting has changed. Set a flag indicating that a full replot is necessary. * src/datafile.c (df_open): Accept a "volatile" keyword to indicate that data in the input file may change. If data is input from pseudo- device '-' or from a file marked "volatile", set a global flag so that mousing/zooming/etc can choose to refresh rather than replot. * docs/gnuplot.doc configure.in --- gnychis <gn...@gm...> wrote: > > Hi all, > > I found this thread that discussed the breaking of the zoom feature in > inline data: > http://www.nabble.com/zooming-of-inline-data-to12416496.html > > This is a crucial feature, and is blocking me from zooming using Octave. > > I was wondering if there is a patch floating around or any progress on this. > > Thanks! > George > -- > View this message in context: > http://www.nabble.com/zooming-on-inline-data-tp14323085p14323085.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- New Design Yahoo! JAPAN 2008/01/01 http://pr.mail.yahoo.co.jp/newdesign/ |