Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1084

Re: Use of a label as an HTML link

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
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 Tue, 08 May 2012 08:33:45 -0700
Organization gnuplot development team
Lines 30
Message-ID <jobecr$v8e$1@dont-email.me> (permalink)
References <4fa90372$0$6881$e4fe514c@news2.news.xs4all.nl>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Tue, 8 May 2012 15:33:47 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="32014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eunT1Gdg7O5uFGRi9SVV+"
User-Agent KNode/4.4.9
Cancel-Lock sha1:O6DrJBKSn6EAvCHJ5nt4vgmzzuI=
Xref csiph.com comp.graphics.apps.gnuplot:1084

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


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 | NextPrevious in thread | Find similar


Thread

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