Re: [R] Adding text to plot(dataframe)

From: Berton Gunter <>
Date: Thu 27 Oct 2005 - 03:22:18 EST

As usual, please read the docs (?! There you will find a link to pairs() among whose arguments is "panel" for writing your own panel function. In this panel function you can use low level plotting and text functions like points() and text() to customize what is plotted. Look at the code for pairs to see how.

Alternatively, and better IMHO, is to use trellis plotting. ?splom (assuming the lattice package is loaded).

"The business of the statistician is to catalyze the scientific learning process." - George E. P. Box    

> -----Original Message-----
> From:
> [] On Behalf Of Ken Termiso
> Sent: Wednesday, October 26, 2005 10:08 AM
> To:
> Subject: [R] Adding text to plot(dataframe)
> Hello,
> When using the plot(df) command, which scatter plots every
> variable of the
> df against every other variable, I would like to add text
> labels, but cannot
> find how to do this in this case so that every little
> sub-plot in the window
> has text labels on the points...
> Any help would be much appreciated.
> Thanks,
> Ken
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!
> mailing list PLEASE do read the posting guide! Received on Thu Oct 27 03:27:16 2005

This archive was generated by hypermail 2.1.8 : Thu 27 Oct 2005 - 06:29:33 EST