|
From: Ethan M. <eam...@gm...> - 2018-03-05 19:41:32
|
On Sun, Mar 4, 2018 at 11:07 PM, Robert Dodier <rob...@gm...> wrote: > Hi, > I'm trying to solve a problem that appeared on Stackoverflow: > https://stackoverflow.com/questions/49083207/can-i- > create-svg-without-onmousemove > > I am working with Gnuplot 5.3, built from current Git sources. > > The problem is that SVG output contains onmousemove and onmouseout, > which the person who posted the question is trying to avoid. > Apparently the mouse event items are generated when the title of a > data series is the empty string '', even though no explicit hypertext > is indicated in the Gnuplot commands. > > For example, test1.gnuplot which is just: > > set terminal svg dashed enhanced size 600, 500 > set out 'test1.svg' > plot 'test.data' index 0 title '' > > causes Gnuplot to output onmousemove and onmouseout Yes. A strange bug (actually 2 separate bugs) triggered by giving an empty string as a title for a plot in style "points" with the svg terminal. Fixed now for 5.2 and 5.3 Ethan > , while > test2.gnuplot which is: > > set terminal svg dashed enhanced size 600, 500 > set out 'test2.svg' > plot 'test.data' index 0 title 'foo' > > does not contain onmousemove or onmouseout. > > Is there a way to avoid generating onmousemove and onmouseout when > title '' is specified? It seems superfluous; is it possible that's a > bug? > > I've attached test1.gnuplot and test2.gnuplot, along with the data > file test.data, and the outputs test1.svg and test2.svg. > > Thanks for any light you can shed on this problem, I appreciate your help. > > best, > Robert Dodier > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/ > lists/listinfo/gnuplot-info > |