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 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: 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 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 "

" 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. running_avg_1_plot_1 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