R-alpha: Too little cex makes you shortsighted...

Peter Dalgaard BSA (pd@kubism.ku.dk)
19 Sep 1996 14:51:01 +0200


To: R-testers@stat.math.ethz.ch
Subject: R-alpha: Too little cex makes you shortsighted...
From: Peter Dalgaard BSA <pd@kubism.ku.dk>
Date: 19 Sep 1996 14:51:01 +0200
Message-Id: <x2n2ym3byh.fsf@bush.kubism.ku.dk>


I've just finished a set of slides on t-tests using some R-generated
plots. But I couldn't get the axis labels large enough. Once the plots
get reduced to 5in total xwidth to fit about half a transparency and
then further reduced for 2-up handouts, the characters have become
1mm tall, even with cex=2! Larger values of cex got worse, not
better. 

Looking in devPS.c, I see:

static void SetFont(int face, int size)
{
        if(face < 1 || face > 4) face = 1;
        if(size < 1 || size > 24) size = 10;
...

This looks buggy to me. At the very least, you should supply the
largest or smallest pointsize, but what's the big idea of setting an
upper limit at all? Even at full size, 24pt (alias 8mm high capital
letters) is a bit low for transparencies.

Also, it's necessary to get the mkh= parameter implemented. It's hard
to make a bubble plot when there's an upper limit on the symbol
size. (Actually, that's not what I needed; that was a big X to mark the
position of the average in a group of observations.)

And BTW: xaxt='n' has absolutely no effect currently. It'll be sorely
missed until it gets put in. 

And pch='.' should probably automagically change into the plotting dot
pch=0, like in Splus. Currently, it gives a real period at the *bottom*
of a character cell centered at (x,y).

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-