Skip to content
Back to formatted view

Raw Message

Message-ID: <4B42F179.4010202@bitwrit.com.au>
Date: 2010-01-05T07:59:53Z
From: Jim Lemon
Subject: Adding a distance scale to a plot?
In-Reply-To: <429079.63894.qm@web56007.mail.re3.yahoo.com>

On 01/05/2010 04:12 AM, Jason Rupert wrote:
> Do you know what steps I need to take to add a scale to a plot?
>
> I'm pulling my example out of "An Introduction to R: Software for StatisticalModelling&  Computing" (see the R code around Figure 76).
>
>
> I would like to add a scale to the image produced by the following code.  I would like to the scale to list the distance and units:
>    
Hi Jason,
The lengthKey function in the plotrix package might be what you need.

Jim