geomHexbin plots wrong size if no "diagonally" adjacent bins are in the facet/plot #762

Closed
cbeleites opened this Issue Feb 2, 2013 · 1 comment

Projects

None yet

2 participants

see a detailed description at stackoverflow http://stackoverflow.com/questions/14495111/setting-hex-bins-in-ggplot2-to-same-size, in the lower part of my answer (http://stackoverflow.com/a/14586941/755257) you'll find reproducible examples.

My guess is that hexBin should produce width and height analogously to StatBin2d yielding all four corner coordinates for each bin, so geom_hex knows what it should draw. Incidentally, this would make geom_hex more general.

Unofrtunately, at the moment I don't have time to produce a patch.

Thanks a lot,

Claudia

Owner
hadley commented Feb 24, 2014

This sounds like a great feature, but unfortunately we don't currently have the development bandwidth to support it. If you'd like to submit a pull request that implements this feature, please follow the instructions in the development vignette.

@hadley hadley closed this Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment