> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>
baptiste
They're exactly the same.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
Part of the problem may be rounding error in the PDF device. This is
the portion of the PDF content stream that actually draws the bars:
51.79 48.02 6.40 0.00 re f
58.19 48.02 6.40 0.00 re f
64.59 48.02 6.40 0.00 re f
70.99 48.02 6.40 21.48 re f
77.39 48.02 6.40 21.48 re f
83.79 48.02 6.40 21.48 re f
90.19 48.02 6.40 42.97 re f
96.60 48.02 6.40 42.97 re f
103.00 48.02 6.40 42.97 re f
109.40 48.02 6.40 21.48 re f
115.80 48.02 6.40 64.45 re f
122.20 48.02 6.40 85.93 re f
128.60 48.02 6.40 85.93 re f
135.01 48.02 6.40 107.42 re f
141.41 48.02 6.40 193.35 re f
147.81 48.02 6.40 107.42 re f
154.21 48.02 6.40 214.83 re f
160.61 48.02 6.40 193.35 re f
167.01 48.02 6.40 171.87 re f
173.42 48.02 6.40 150.38 re f
179.82 48.02 6.40 150.38 re f
186.22 48.02 6.40 128.90 re f
192.62 48.02 6.40 85.93 re f
199.02 48.02 6.40 42.97 re f
205.42 48.02 6.40 64.45 re f
211.82 48.02 6.40 21.48 re f
218.23 48.02 6.40 21.48 re f
224.63 48.02 6.40 0.00 re f
231.03 48.02 6.40 0.00 re f
237.43 48.02 6.40 21.48 re f
243.83 48.02 6.40 21.48 re f
250.23 48.02 6.40 0.00 re f
256.64 48.02 6.40 0.00 re f
The 're' operator's four prefix arguments are x, y, w, h in that
order, and it draws a rectangle whose lower left-hand corner is at
(x,y) and upper right-hand corner is at (x+w, y+h). So to get no gap
between bars, the left-hand column should increment by exactly 6.40
each time, but you can see that sometimes it goes up by 6.41 instead.
However, when I correct that manually, I still get visible seams
between all the bars in my PDF reader (evince). So there's more
required. I don't especially want to dig through the PDF spec right
now and figure it out, though.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.