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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to