[R] labelling plots with ancillary data in data.frame
Julian Burgos
jmburgos at u.washington.edu
Tue Aug 14 19:22:20 CEST 2007
Hi Wesley,
You can use the text() function to add text to an existing plot. See
?text.
Julian
Wesley Roberts wrote:
> Hi All,
>
> I am busy using R to do some regression modelling and have been using plot(x,y,"") to visualise my variables. I would now like to label my points using data stored in the data.frame used for the regression analysis. For example each of my data points is made up of a field measured forest volume value and a remotely sensed vegetation estimate (NDVI). Each point is an enumeration plot and I would like to label each the points in the xy-scatterplot with their respective plot numbers. Is this possible in R, if so how do I go about doing it?
>
> Many thanks for your help
>
> Wesley
>
> Wesley Roberts MSc.
> Researcher: Forest Assessment (Remote Sensing & GIS)
> Forestry and Forest Products Research Centre
> CSIR
> Tel: +27 (31) 242-2353
> Fax: +27 (31) 261-1216
> http://ffp.csir.co.za/
>
> "To know the road ahead, ask those coming back."
> - Chinese proverb
>
>
>
--
Julian M. Burgos
Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington
1122 NE Boat Street
Seattle, WA 98105
Phone: 206-221-6864
More information about the R-help
mailing list