与えられたデータフレーム:
d = structure(list(bin_start = 1:12, 
                   bin_count = c(12892838L, 1921261L, 438219L, 126650L, 41285L, 
                                 15948L, 6754L, 3274L, 1750L, 992L, 703L, 503L)), 
              .Names = c("bin_start", "bin_count"), 
              class = "data.frame", 
              row.names = c(NA, 12L))
私はヒストグラムを作成することができますstat="identity":
ggplot(d) +
  geom_histogram(aes(x=bin_start, y=bin_count), stat="identity", 
                 colour="black", fill="white") +
  scale_x_continuous(breaks=1:12)
次のようになります。

ロングテールに満足できないので、x スケールを制限します ( に相当xlim=c(1,6)):
ggplot(d) +
  geom_histogram(aes(x=bin_start, y=bin_count), stat="identity", colour="black", fill="white") +
  scale_x_continuous(breaks=1:12, limits=c(1,6)) 
しかし、私は境界点を取得x=1してx=6消えます:

プロットの美学に属する境界点のように、y 軸は引き続きスケーリングされることに注意してください。それは機能ですか、それともバグですか?
