[R] Multiple colors in a plot title

Thomas Unternaehrer uth at zhwin.ch
Fri Jan 28 10:35:36 CET 2005


Try something like this:

plot(1:10)
mtext(c("title1", "title2"), col = c(2:3), at = c(4, 6))


Leo Espindle wrote:

>R-Help:
>
>Is there a way to use multiple colors in the title of a plot?  For
>instance, to have certain words be red, and certain words be blue?
>
>thanks in advance,
>Leo
>
>  
>




More information about the R-help mailing list