Jacob Wegelin
2003-May-30 19:37 UTC
[R] color in plot title: title(sub="something", col=4)
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 Jacob A. Wegelin, Ph.D. Adjunct Assistant Professor Epidemiology and Preventive Medicine, Univ. California One Shields Ave, TB-168 Davis CA 95616-8638 USA TEL 530.752.2793 FAX 530.752.3239 http://wegelin.ucdavis.edu/ jawegelin at ucdavis.edu
Sundar Dorai-Raj
2003-May-30 19:55 UTC
[R] color in plot title: title(sub="something", col=4)
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 > > JakeSee ?par. Specifically col.main, col.sub, and col.axis. Regards, Sundar
Prof Brian Ripley
2003-May-30 20:02 UTC
[R] color in plot title: title(sub="something", col=4)
?title says ...: further graphical parameters from `par'. Use e.g., `col.main' or `cex.sub' instead of just `col' or `cex'. And it is *really* time you upgraded your 13-month-old R, especially as it is a 1.x.0 release. On Fri, 30 May 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.So why not look up the help on title?> 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 > > Jacob A. Wegelin, Ph.D. > Adjunct Assistant Professor > Epidemiology and Preventive Medicine, Univ. California > One Shields Ave, TB-168 > Davis CA 95616-8638 USA > TEL 530.752.2793 > FAX 530.752.3239 > http://wegelin.ucdavis.edu/ > jawegelin at ucdavis.edu > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595