# ggplot2 0.89
ggplot(diamonds, aes(carat, price)) + stat_binhex() +
scale_fill_continuous(breaks = c(1,4,7) * 1000, labels = c("few",
"mid", "much"))
# ggplot2 0.9
ggplot(diamonds, aes(carat, price)) + stat_binhex() +
scale_fill_continuous(limits = c(0, 7) * 1000, breaks = c(1,4,7) *
1000, labels = c("few", "mid", "much"))
--
Kohske Takahashi <takahash...@gmail.com>
Research Center for Advanced Science and Technology,
The University of Tokyo, Japan.
http://www.fennel.rcast.u-tokyo.ac.jp/profilee_ktakahashi.html
2012/1/11 Jaron <jaron....@gmail.com>:
> --
> 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