|
From: <pl...@pi...> - 2011-10-21 08:47:00
|
On 10/21/11 07:43, Ethan Merritt wrote: > On Thursday, 20 October 2011, pl...@pi... wrote: >> The 'js_id' option is used by the interactive mouse features and must be >> a valid javascript variable name. In short, this means it cannot >> contains certain characters like spaces and punctuation marks. An error >> will be produced when the graph is plotted if this is not a valid name. >> If not specified it will be 'gnuplot_plot_n' , where n is 1 for a simple >> plot but may be greater than one in the case of multiplot output. > > Just FYI, that isn't quite correct. "n" increases with each plot in the > graph. So if you say > plot sin(x),cos(x),'foo.dat','baz.dat' > these are plot_1, plot_2, plot_3, and plot_4. > > Multiplot is a whole separate issue, currently broken. > I suppose we will have to come up with a revise scheme to handle it. > >> The 'title' option sets the svg<title> element that is displayed by >> some svg viewers in the title bar. It is not visible in the plot itself. >> If not supplied it will be the same as 'js_id' value. > > This isn't quite correct either, at least for me running firefox here. > Each plot has a title, and it pops up in a little box whenever the > mouse is over that plot. As you point out, the title of the first > plot also is displayed in the top window bar. But I think that may > be a firefox bug/idiosyncracy. Opera and Konqueror display the > filename instead. I don't mind adding something to make firefox > display a different title, but so far I have not figured out how :-( > > Ethan > > OK, I just thought you may ask for a suggestion for the help. You can obviously do better. For the latter problem add a title tag after <desc> , see my other reply. Peter. |