--
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
But may you want to adjust the origin of the histogram so it falls
between the ticks:
library(ggplot2)
df <- data.frame(x = runif(100))
qplot(x, data = df, binwidth = 0.1)
qplot(x, data = df, binwidth = 0.1, origin = -0.05)
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
qplot(x, data = df, binwidth = 0.1, origin = -0.05)
is same with:
ggplot(data=df, aes(x=x)) + geom_histogram(binwidth = 0.1, origin = -0.05)
--
--
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/groups/opt_out.