<michel.m...@gmail.com> wrote:
> Thanks for the answer. However, when I try quartz(type="pdf") with a datasetwell, that's very strange. Does it also look like that on screen when
> of many points, I get linetypes show inconsistent behavior (i.e., some parts
> of dotted lines become continuous). My hypothesis is that quartz/ggplot
> connects every two succeeding points with a 'new' line, and therefore points
> too close together do not exhibit a clear line pattern.
you plot it? I thought quartz() was pretty immune to this.
What you
could do is:
- try ggsave but I am afraid it won't do better
- try copying from the screen (select your plot window and hit ⌘C)
then paste into preview (in Preview: File > New from Clipboard). This
creates a PDF which should be exactly what you have on screen. Un
fortunately it is not automated
- install Cairo and try the CairoPDF device
I can confirm the pdf problem (even with R-dev), but quartz() works
for me. Could you post a minimal example where you see "inconsistent
behavior"?
I'm not familiar with the process of reporting bugs to R core.
PR#14128 seems quite serious to me yet no-one replied publicly to the
report and for all I know it might end up forgotten in the long list
of pending reports.
Would it help if someone else joined the discussion on R-devel and
confirmed that this is indeed a serious problem with pdf output? It's
especially important to us ggplot2 users that we face the total
disappearance of a particular linetype; such an issue is less obvious
with other graphics packages that do not use the same lineend ("butt")
by default. I think consistency across devices should be more
important than the back-compatibility issue.
Thanks,
baptiste
R-bugs:
http://bugs.r-project.org/cgi-bin/R/Graphics?id=14128;user=guest
R-devel discussion:
http://markmail.org/thread/uczvziwcxga5jr3f
------------------------------------------------------------------------
r50695 | ripley | 2009-12-09 13:37:27 +0100 (Wed, 09 Dec 2009) | 1 line
adjust line textures for butt end caps on postscript() and pdf() devices
------------------------------------------------------------------------
so we shouldn't see invisible (!) lines in ggplot2 anymore :)
Best,
baptiste