[R] Plot Character Sizes in rw-0.90.0

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Dec 1 23:39:18 CET 1999

John Maindonald <john.maindonald at anu.edu.au> writes:

> I have two supposedly identical installations, one under Windows 95,
> and the other (at home) under Windows 98.  The puzzle is that under 
> my Windows 98 installation, symbols plotted by default or with pch
> come out huge, at about 2.2 times the height of the axis labels.
> Setting cex=0.5 seems about what is needed to fix the heights.
> On the Windows 95 installation, the symbols come out just a little
> smaller than the height of the axis labels.

Peculiar. They're supposed to be roughly the width of a "0" in the
base font. The Postscript driver had a bug in the size calculations,
in that it subtracted 18 pixels from the radius, but that wouldn't
seem to be your problem if setting cex fixes things up.

What does par("cra") and par("csi") say on your respective systems?
(par("cra")[2]/par("csi") should be the dpi of your device)

> Unless someone has an immediate explanation, maybe I need to send a
> bug report from my home machine?
> A further point is that, contrary to the documentation of par(),
> the
> setting of mkh seems to have no effect on the height of symbols 
> plotted with pch, e. g.
> plot(1:4,1:4,pch=1,mkh=0.2)

Yes, I believe we already have a bug report to that effect.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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