Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1084
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Use of a label as an HTML link |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2012-05-08 08:33 -0700 |
| Organization | gnuplot development team |
| Message-ID | <jobecr$v8e$1@dont-email.me> (permalink) |
| References | <4fa90372$0$6881$e4fe514c@news2.news.xs4all.nl> |
Followups directed to: comp.graphics.apps.gnuplot
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/
> Any experience most welcome. Haven't tried this myself yet.
>
> Alex van der Spek
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Use of a label as an HTML link "Alex van der Spek" <zdoor@xs4all.nl> - 2012-05-08 13:28 +0200 Re: Use of a label as an HTML link sfeam <sfeam@users.sourceforge.net> - 2012-05-08 08:33 -0700
csiph-web