(just documenting - self-answer follow)
in gnuplot
, can have 2 plots (say, sin(x)
, cos(x)
this:
gnuplot> plot sin(x), cos(x)
which provides graph this:
i'd interactively click on something, , (say) hide sin(x)
- again click somewhere mouse show it.
i've seen (in http://gnuplot.sourceforge.net/demo_canvas_4.6/) possible html5 canvas
terminal - in firefox, can click on small circled 1
in demo, show/hide 1 of plots there. unfortunately, seems canvas
terminal available gnuplot
4.6 - while i'm using 4.4.
is there similar sort of facility interactive terminals in earlier versions of gnuplot
?
indeed, turns out there - couldn't find in documentation.
first need click on wrench icon ("open configuration dialog") on wxt
terminal window; in there, there option "toggle plots on/off when key sample clicked", should enabled.
if is, 1 can click on function entry in legend (that is, key), , visibility of particular plot toggled there.
nb: phrase "key sample" confused me, because if plot data of, say, 2 points (say, (0,0) , (1,1)) with, say, linespoints
, you'd "points" @ (0,0) , (1,1), , line connects them; have considered "points" "key samples" (in analogy "key frames"), whereas line represent "interpolated samples" - not meaning here; here clicking on "key sample" means clicking on entry in legend!
hope helps someone,
cheers!
Comments
Post a Comment