ggplot无法绘制最小点

geo*_*ory 6 r ggplot2

我发现当scale_size_area数据范围跨越几个数量时,使用最小点绘制点时会被省略.由于在某处变为零而可能出现的错误?

require(ggplot2)
d = data.frame(x=1:4, y=rep(1,4), v=10^(1:4))

ggplot(d, aes(x, y, size=v)) + geom_point() +
  geom_text(aes(label = v), size=2, col='red') +
  scale_size_area(max_size = 50) +
  theme(legend.position = "none")
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

geo*_*ory 0

这似乎确实是一个错误,因此我报告了它: https: //github.com/hadley/ggplot2/issues/1022