Adding a distance scale to a plot?
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