[R] title: words in different colors?
Michael Friendly
friendly at yorku.ca
Thu Jan 22 00:08:11 CET 2009
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 implicit legend for points that are plotted.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
More information about the R-help
mailing list