[R] labels in multiple plot

From: Bruno C. <bruno.c_at_inwind.it>
Date: Mon, 19 May 2008 17:20:51 +0200

My code is the following:

point_type<-c("black","gray20","red"....) ...
for (i in 1:dim(m)[1]) {

                par(pch=(18+i))
                par(fg=point_type[i])
		plot(m[i,], type='b', ylim = c(lower, upper), type = "l", ...)
		par(new=T)
	}

Now I need to add an 'explanation' to each pch. I would have a box in the upperright corner of the plot containing several rows each one in the format: 'pch symbol': 'explanation'

How can I do that?

Thanx
Bruno



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 19 May 2008 - 16:27:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 19 May 2008 - 17:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive