R-alpha: PS bug fix and various minor graphics bugs
Thu, 12 Jun 1997 11:02:03 +1200 (NZST)
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
> - 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.
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: firstname.lastname@example.org