[R] Double Colors in Main

2010-03-02 Thread Lorenzo Isella
Dear All, Consider the following trivial code snippet rm(list=ls()) name_vec - c(color1, color2) pdf(test_color.pdf) plot(seq(5), seq(5), main=paste(name_vec[1], and ,name_vec[2], sep=)) dev.off() What I would like to achieve is rather simple to explain, but it is giving me a headache: how

Re: [R] Double Colors in Main

2010-03-02 Thread Romain Francois
See this thread : http://finzi.psych.upenn.edu/Rhelp10/2009-January/185693.html On 03/02/2010 02:18 PM, Lorenzo Isella wrote: Dear All, Consider the following trivial code snippet rm(list=ls()) name_vec - c(color1, color2) pdf(test_color.pdf) plot(seq(5), seq(5), main=paste(name_vec[1], and