[R] plot(...,type='h') and the pdf driver don't play nice
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Nov 18 23:15:33 CET 2002
<ripley at stats.ox.ac.uk> writes:
> Yes. Try in postscript() too. I just followed postscript, but
> consciously that one had to specify the desired behaviour.
>
> That's not the way to draw boxes ....
Exactly. For a bar plot, try barplot().
> Sophisticated graphics interfaces have options for how lines end and join,
> but S's (and hence R's) predates such things. )But Windows' GDI does not,
> as far as I know.)
Not by much I think. PostScript has always had round/bevel/miter joins
and is roughly the same age as S. Of course the GRZ model on which S
builds is still older... I think the basic issue is that round joins
are the only thing that works at acute angles without unpleasant
artifacts, so if we want a single common polyline routine to do all
line drawing, round joins will look best, and line endings follow from
that I believe, but things like box(lwd=10) get to look odd. I suppose
we could add a graphics parameter for join style. One more or less...
BTW, I gather that GDI does have PS_JOIN_MITER &friends, or was that
not what you meant?
--
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