[R] color in plot title: title(sub="something", col=4)

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Fri May 30 21:55:23 CEST 2003



Jacob Wegelin wrote:
> Is there a way to specify the color of the main title, the subtitle, or
> the axis labels?  I mean, for instance, something like
> 
> title(main="cougar", col=2)
> 
> For me, the above command produces the color black; that is, the "col"
> argument has no effect.
> 
> I'm on a Windows 2000 machine with
> 
> 
>>version
> 
>          _
> platform i386-pc-mingw32
> arch     i386
> os       mingw32
> system   i386, mingw32
> status
> major    1
> minor    5.0
> year     2002
> month    04
> day      29
> language R
> 
> Thanks for any advice
> 
> Jake


See ?par. Specifically col.main, col.sub, and col.axis.

Regards,
Sundar




More information about the R-help mailing list