From ihaka@stat.auckland.ac.nz  Thu Jun 12 00:02:03 1997
From: ihaka@stat.auckland.ac.nz (Ross &)
Date: Thu, 12 Jun 1997 11:02:03 +1200 (NZST)
Subject: R-alpha: PS bug fix and various minor graphics bugs
In-Reply-To: <Pine.SUN.3.95.970611141002.11295A-100000@paca>
References: <199706111737.TAA12848@aragorn.ci.tuwien.ac.at>
 <Pine.SUN.3.95.970611141002.11295A-100000@paca>
Message-ID: <199706112302.LAA24151@stat1.stat.auckland.ac.nz>

Ben Bolker writes:
 > 
 >    I don't know if this bug has been fixed in a patch I missed, but ...
 > 
 >   line 154 of devPS.c, which currently reads
 > 
 > maxpointsize = 72.0 * ((pageheight>pagewidth)) ? pageheight : pagewidth;
 > 
 >    should read
 > 
 > maxpointsize = 72.0 * ((pageheight>pagewidth) ? pageheight : pagewidth);
 > 
 >   The misplaced parenthesis makes maxpointsize wrong.

This is indeed an error.  I have made the change.

 >   Other comments (things I may get around to fixing when I'm less busy):
 > 
 >    - on quick examination "mkh" appears to have no effect;

This is deliberate.  You can use the cex parameter scales the size
of everything.  If you need "exact" mark sizes I can look at adding
it.

 >    - the components of mgp(x,y,z) appear to get rounded off to integers at
 > some point, which I don't like (but should at least appear in
 > documentation if there's a good reason for it); I like to be able to
 > fine-tune distances ...

This was a typo in the saving and restoring of graphical parameters.
The temporary saved value was typed "int" instead of double.

 >    - when using arrows() on a log-scaled plot, you have to use log(x)
 > coordinates rather than x-coordinates.  This could be intentional (but is
 > not the way text() works, so I would say it should be made to work the way
 > text() works).

Yes, this is because I ommited the transformation in both "segments"
and "arrows".  This is a bug.

All these things will be fixed in 0.50 which is "almost ready to
roll".  It is examination / final-grade time here so there may be a
small delay before the release.
	Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: PS bug fix and various minor graphics bugs
Ross &