Re: [R] labels in multiple plot

2008-05-19 Thread Greg Snow
21, + col=c('red','green','blue')) > -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: Bruno C. [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008

Re: [R] labels in multiple plot

2008-05-19 Thread Bruno C.
Yep sorry I need to use the legend command but am not so good at: Given this pseudo-code: 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), typ

Re: [R] labels in multiple plot

2008-05-19 Thread Greg Snow
It is not clear what exactly you are trying to do, but you may want to look at ?matplot for an alternative to your loop, then look at ?legend for adding explanations. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-81