Skip to content
Prev 25401 / 398502 Next

plot(...,type='h') and the pdf driver don't play nice

<ripley at stats.ox.ac.uk> writes:
Exactly. For a bar plot, try barplot().
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?