Resize/manually enter breaks on colorbar guide of geom_tile AND replace y-axis labels
问题 I am revisiting this issue I ran into approximately a year ago. I would like my 'colourbar' guide to effectively be displayed on a log scale so that the takeaway when looking at it is that increasingly darker values of blue reflect greater significance. With the following code, I generate the below image: pz <- ggplot(dat.m, aes(x=variable,y=Category)) + geom_tile(aes(fill=value)) + xlab(NULL) + ylab(NULL) + scale_fill_gradientn(colours=c("#000066","#0000FF","#DDDDDD","white"), values=c(0,0