Re: [R] title: words in different colors?

2009-01-22 Thread Barry Rowlingson
Here's my version of the technicolor title function: multiTitle - function(...){ ### ### multi-coloured title ### ### examples: ### multiTitle(color=red,Traffic, ### color=orange, light , ### color=green,signal) ### ### - note triple backslashes needed for embedding

[R] title: words in different colors?

2009-01-21 Thread Michael Friendly
In ?title I see the plot(cars, main = ) title(main = list(Stopping Distance versus Speed, cex=1.5, col=red, font=3)) I can't seem to generalize this to use several colors in a single title. What I'd like is in latex-ish \red{Hair color} \black{ and } \blue{Eye color} to serve also as an

Re: [R] title: words in different colors?

2009-01-21 Thread Barry Rowlingson
2009/1/21 Michael Friendly frien...@yorku.ca: In ?title I see the plot(cars, main = ) title(main = list(Stopping Distance versus Speed, cex=1.5, col=red, font=3)) I can't seem to generalize this to use several colors in a single title. Solution from

Re: [R] title: words in different colors?

2009-01-21 Thread Duncan Murdoch
Michael Friendly wrote: In ?title I see the plot(cars, main = ) title(main = list(Stopping Distance versus Speed, cex=1.5, col=red, font=3)) I can't seem to generalize this to use several colors in a single title. What I'd like is in latex-ish \red{Hair color} \black{ and } \blue{Eye