Alex van der Spek wrote:
> Has anyone experience with using a label in gnuplot as an HTML link?
>
> For instance
>
> gnuplot>>> set label 0 "This is where a link refers to." at 0.5,0.5
> gnuplot>>> set label 1 "<p><a name=LinkHere></a></p>" at 0.5,0.5
> texcolor 'backgroundcolor'
>
> Obviously this makes sense if the output terminal is SVG or HTML and
> that output graph is embedded in a master HTML document that links to
> these labels. Label 0 is displayed, label 1 is set at the same
> position but becomes invisible as the textcolor is equal to the
> backgroundcolor.
For SVG, the graph and the individual plots within the graph already
have anchoring identifiers.
<g id="running_avg_1_plot_1" ><title>running_avg_1_plot_1</title>
These are used, for example, to toggle the individual plots on/off
interactively by mousing.
For a related application that has not yet been added to CVS,
have a look at the demo for Patch 3510881
http://gnuplot.sourceforge.net/demo_hypertext/