Skip to content
Back to formatted view

Raw Message

Message-ID: <8363B812-47B0-4A43-8EF5-CEEC89F80942@comcast.net>
Date: 2011-12-05T19:05:14Z
From: David Winsemius
Subject: adding hyperlinked text to pdf plot
In-Reply-To: <CAKZHBxEw2kJpo_wYXnbqnU38u0-dVK6ft1Rfhc1ttCnmr8JFcg@mail.gmail.com>

On Dec 5, 2011, at 1:39 PM, Justin Fincher wrote:

> Howdy,
>   I have read that if you put a URL in the text of a plot being saved
> into pdf, the result is a functional hyperlink.

Don't believe everything you read.

pdf("test.pdf")
  plot(1,1,main="http://test.gov/some.htm")
  dev.off()

"Non-functioning" text.

> I am interested in
> having text in a plot that is linked to a URL, but I would like the
> text to be something other than the URL. Is this possible? Thank you.
>
> - Fincher
>


David Winsemius, MD
West Hartford, CT