Re: [R] text labels in Trellis plot

2011-01-29 Thread Deepayan Sarkar
On Wed, Jan 26, 2011 at 4:24 PM, Markus Damian wrote: > Dear all, > > I need to generate plots in which the points of the plot are replaced > by text labels, such as "dog" and "cat". The usual way of specifying > the plotting symbol with pch works only if the labels are single > characters, as far

[R] text labels in Trellis plot

2011-01-26 Thread Markus Damian
Dear all, I need to generate plots in which the points of the plot are replaced by text labels, such as "dog" and "cat". The usual way of specifying the plotting symbol with pch works only if the labels are single characters, as far as I know. So, plot(runif(3), pch=c("A", "B", "C")) will work O