|
From: <pl...@pi...> - 2008-12-31 11:04:04
|
James R. Van Zandt wrote: > > Ethan A Merritt <merritt@u.washington.edu> writes: >> On Saturday 27 December 2008, James R. Van Zandt wrote: >>> I think these would be useful functions for a selected curve: >>> - Toggle visibility (as Bill demonstrated). >>> - Move to front/back. >>> - Dim (partially desaturate, or just turn light gray) / restore. >>> - Highlight (move to front, and dim all the other curves) / restore. >>> - If X2 or Y2 axes are in use, then when you select a curve, it would >>> be nice to have the corresponding axes automatically highlighted. >> What sort of user interface would this functionality use? >> >> Would it be possible to implement popup menus for all the interactive >> terminals? >> svg - easy if you have already commited to using jscript or the like. >> wxt - there is an extension that allow this, but it is very crude >> x11 - not without pulling in some additional toolkit layer >> win - no idea >> >> Or perhaps we could add a clickable icon to each key entry? >> 1st click toggles off, 2nd click brings it back at dim/grey, >> 3rd click highlights, 4th click returns it to the original state > > I like this concept of cycling among the choices with clicks (though I > think the first click should highlight). > >>> I would also like a way to select a data point on the graph and >>> display information about it. In particular: >>> >>> - The X, Y (Z, T, U, V) data value, with full precision (not >>> transformed to integer screen coordinates then transformed back). >>> Also DX and DY for errorbars graphs. >>> >>> - Where it came from (file name, line, index, line within index, >>> etc.). Useful for tracking down an outlier. >>> >>> If there are several data points very close together (say, within an >>> eight pixel radius), I would like a way to cycle among them. > > For drilling down to a particular data point, one could click at or > near it. The software would scan the data points until finding one > within an N pixel radius, and pop up a window with data about that > point. For the next click it would restart its scan where it left off > the last time, so all the nearby data points are eventually visited. > > - Jim Van Zandt > Don't forget that we are talking about the graphical output of a plotting program. This may be a function plot not data or a log plot or a result of applying a function to the difference of two data series. I dont think what you suggests has much meaning outside of a trivial x,y plot of the input data and while svg has individual vectors for x,y data the bitmapped output do not. I think the only thing that can have meaning here is cursor coordinates displayed like the wxt terminal does. It would be nice to get that into svg. A second best would be cross-hairs which help read the coords off the axses without it having to calculate from the mouse. I don't think what would be too hard to add. Peter. |