次のコードを追加します。
scale_fill_continuous(limits=c(0.0001, 28),trans = "log",
low = "green", high = "red",
breaks=c(0.0001,0.001,0.01,0.1,1,3,10,25))
凡例のテキストは
(0.0001,0.0010,0.0100,0.1000,1.0000,3.0000,10.0000,25.0000)
凡例のテキストにある余分なゼロを削除するには? それらを次のように作成する方法:
(0.0001,0.001,0.01,0.1,1,3,10,25)