|
From: <pl...@pi...> - 2011-10-20 15:33:25
|
On 10/20/11 13:40, Christoph Bersch wrote: > On 20.10.2011 09:26, pl...@pi... wrote: >> On 10/20/11 02:17, Ethan A Merritt wrote: >>> >>> It is absolutely necessary. That is how the document distinguishes which >>> elements belong to plot 1, which to plot 2, and so on. That way it is >>> possible to globally toggle properties of one plot without affecting the >>> others. These, by the way, are multiple plots within the same graph. >>> If there are multiple graphs in the document, then we have globally >>> accessible handles for >>> name1_plot_1 ... name1_plot_N >>> name2_plot_1 ... name2_plot_M >>> and so on. >> >> Yes, I appreciate why you need different and unique ID's , this is a >> well thought out feature . > > Besides the id vs. title issue, there is a bug related to theses plot > numbers in multiplot graphs: > > set terminal svg mouse > set output 'multiplot.svg' > set multiplot layout 1, 2 > plot sin(x), cos(x) > plot x**2 > unset multiplot > set output > > Now, clicking on the key of the x**2 plot hides/shows the sin(x) plot. > > I just mention it here, because it is related to the naming of the > unique ids. > > Christoph > > ------------------------------- <g id="gnuplot_canvas" onclick="gnuplot_svg.toggleCoordBox(evt)" onmousemove="gnuplot_svg.moveCoordBox(evt)"> seems to be a slip up between canvas and svg output in multiplot. Second one gets "gnuplot_plot_1" regards. |