Closed
Description
Using this code, from the examples:
d <- ggplot(diamonds, aes(carat, price))
d + geom_hex()
It seems like the plotted hexagons are now "squished" improperly, according to the aspect ratio of the current device. For example:


Has it always been this way and I'm just misremembering? Or has something changed in how hexagonal bins are drawn?
Compare this with plots generated by e.g.
library(hexbin)
mixdata <-
data.frame(x = c(rnorm(5000),rnorm(5000,4,1.5)),
y = c(rnorm(5000),rnorm(5000,2,3)),
a = gl(2, 5000))
hexbinplot(y ~ x, aspect = 2, data = mixdata)


Metadata
Metadata
Assignees
Labels
No labels