[R] xfig boxplot (polygon) bug??
e.catchpole at adfa.edu.au
Tue Feb 13 04:51:56 CET 2001
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in, have
lost the vertical line that defines the left edge of the box. That is,
they look like
| | |
| instead of | |
| | |
This doesn't sound serious, but I'm running the result through pdf
postprocessors (mpost, then ppower4), and the result comes out as
triangles instead of boxes!
A simple workaraound, I expect, would be to define the boxes as
5-point polygons rather than 4-point, to force closure (sorry if I'm
not using the right jargon here).
I tried to get a look at the boxplot code to check this out, but
function (x, ...)
Is there any way I can get at the boxplot code? Or is there another
way out of my problem? I'd be very grateful for any help.
I'll post this as a bug if this is confirmed.
Dr E.A. (Ted) Catchpole
School of Maths & Stats Honorary Senior Research Fellow
University College, UNSW Institute of Maths & Stats
Australian Defence Force Academy University of Kent at Canterbury
Canberra, ACT 2600, Australia Canterbury CT2 7NF, England
e-catchpole at adfa.edu.au E.A.Catchpole at ukc.ac.uk
fax: +61 2 6268 8886
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