[R] cex in Windows vs. Linux

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Nov 13 08:25:16 CET 2002


On Wed, 13 Nov 2002, Paul Murrell wrote:

> Andrew Schuh wrote:
> >
> > I go back and forth from Linux to Windoze often and have to run the same
> > r-scripts.  I was wondering why it seems like the default plotting size of
> > labels, symbols, titles, etc seem smaller in Linux than in Windows.  Is there
> > a quick way to remedy this so I don't have to manually change the cex
> > settings from 1 to 1.3 every time I go from Windoze to Linux?
>
>
> I think part of the problem is that the font used on the X11 device is
> Helvetica and the default font for Windows is Arial.  The default point
> size is 12 in both cases, but just because two fonts have the same
> nominal point size does not mean that they physically are the same size.
> It should theoretically be possible to set yourself up with either
> Helvetica on Windows or Arial on Linux, but I don't know of a (free)
> source for such fonts.

A quick fix is to use the `pointsize' argument of the devices you use.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list