powered by
asinh_trans()
http://robjhyndman.com/hyndsight/transformations/
http://stackoverflow.com/questions/14504869/histogram-with-negative-logarithmic-scale-in-r
library(ggplot2) ggplot(data.frame(x=seq(-1000,1000,len=200)), aes(x=x,y=x))+ geom_line(size=1)+ scale_x_continuous(trans = 'asinh',breaks=c(-1000,-100,10,-1,0,1,10,100,1000))
Run the code above in your browser using DataLab