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
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
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
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
4 matches
Mail list logo