[R] Monospaced fonts in legends

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 31 16:24:56 CEST 2006


On Mon, 31 Jul 2006, Erich Neuwirth wrote:

> Is there a way of using monospaced fonts in legends in a plot,
> but still using standard proportionally spaced fonts for all the titles?

Yes, just use the family= argument as appropriate, e.g. par(family="mono") 
before calling legend.

-- 
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



More information about the R-help mailing list