You can register your y values ββfor the graph and then add a custom logical y axis.
Here is an example for a table object with random normal distribution numbers:
# data count = table(round(rnorm(10000)*2)) # plot plot(log(count) ,type="h", yaxt="n", xlab="position", ylab="log(count)") # axis labels yAxis = c(0,1,10,100,1000) # draw axis labels axis(2, at=log(yAxis),labels=yAxis, las=2)

Tobi G. Feb 13 '16 at 2:02 2016-02-13 02:02
source share