|
From: Petr M. <mi...@ph...> - 2005-01-14 08:13:44
|
> > > >I suppose that in principle the input stream during a > > > >plot '-' command could be copied to a temp file so that > > > >it was available for re-reading. That might be a useful > > > >thing for more reasons than just mouse zooming. > > > > > > For doing a replot without having to re-enter the data, perhaps? :-) > > > > It would be useful. With some associated 'set ...' to switch this caching > > on/off. > > Of course, the data is already present in gnuplot's internal > arrays. > > In principle a "zoom" operation wouldn't need to reread the files. > So it might be possible to implement zoom as a partial replot > that skips the step of re-reading the data and maybe other > steps in the full plot/replot pathway. It works this way with "splot" and rotations by mouse. For zoom to work the same way, it would need some loop over data to change validity of points for new ranges. --- PM |