You should be changing the scale's limits instead: ggplot(data=t, aes(x=x, y=y)) + geom_tile(aes(fill=z)) + scale_fill_gradientn(limits = c(-3,3), ...
確定! 回上一頁