|
From: Ethan M. <merritt@u.washington.edu> - 2007-06-27 21:15:08
|
On Wednesday 27 June 2007 13:02, Dr. Johannes Zellner wrote:
> I'd also vote strongly for this patch. I'ts useful for all apps which
> write via a pipe to gnuplot both gnuplot commands and inline data.
>=20
> 2007/6/25, Petr Mikulik <mi...@ph...>:
> >
> > I would see the most urgent patch to finish
> >
> > =A0 =A0 =A0 =A0 [ 1723715 ] Refresh plot or zoom without re-reading data
> >
> > because this it is required by the Octave community.
I've uploaded to SourceForge a second-generation version of=20
patch 1723715 "Refresh plot or zoom without re-reading data"
In default mode, it uses the new "refresh" mechanism if and only if
it is a 2D plot containing data flagged "volatile". That means either
data read from pseudodevice '-' or from a file with the the keyword
"volatile".
If the data is not volatile, or if there is some change in state that
requires re-reading the data, then it falls back to calling "replot"
instead. To test the mechanism without having to type data in by hand,
try
plot 'silver.dat' volatile with linespoints
Improvements since previous version:
=2D the code has been simplified a bit
=2D 'r' 'a' 'g' 'e' hotkeys tested and working
=2D autoscaling after zooming now works (except for image data)
=2D documentation
Known problems. Please help!
=2D I can't figure out how/where plots "with image" contribute to=20
autoscaling. Where in the existing code does this happen?
=2D Reversed axes are not handled correctly. The existing code for
reversed axes is a horrible tangle, which doesn't help any.
=2D My first attempts to implement refresh for 3D plots (set view map)
were a failure. More thought will be required. In principle
it should be sufficient to modify the code in plot3d.c and graph3d.c
in parallel to the already working changes in plot.c and graphics.c.
Note: We only need to support the subset of 3D plots with
"set view map". It turns out that these always use a reversed y axis.
So maybe I just need to get reversed axes working properly, and then
the 3D case will also start working.
=2D-=20
Ethan A Merritt
|