|
From: Daniel J S. <dan...@ie...> - 2007-06-04 21:45:17
|
Ethan Merritt wrote: >>To have a "refresh" command and then have "refresh" an option somewhere is >>getting along the lines of the "hidden3d" and "pm3d hidden3d" option confusion. > > > Huh? What option? > > There would be two commands. I am not wedded to calling the new one "refresh", > but let's go with that for the moment. > replot = re-read the data and plot all over again > refresh = don't reread the data, but update the plot with new limits+labels+etc Fine for now. I'm not strongly pitching "set datafile reread". I'm simply wondering how users might like this oft-used command. Would some be happier to set an option and have "replot" to mean reread the data and all. E.g., Octave users have asked for gnuplot to simply reread data. No mention of an alternate command. I guess it is a question of both "replot" and "refresh" commonly used to go back and forth, or simply be in one mode and stay that way. > If you're typing from the command line, no problem. > You just pick whichever of the two commands you want. > The issue is what happens under the hood when a mouse operation, > in particular zooming, needs to redraw the plot. > Does it use "refresh" or does it use "replot"? > You've got to be able to tell it that somehow, and that's kind of > hard to do without mention the name of the command you want it to use. "set datafile reread/noreread" would accomplish the same thing. (I'm considering '-' a datafile (in-line).) No strong feelings either way, just kind of tossing the alternatives around... Dan |