|
From: Robert D. <rob...@gm...> - 2018-03-05 07:08:07
|
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, 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 |