Hi, If you have the following lets say: hist(log10(rnorm(0:1000))) How do you show the labels on the x-axis as log vaules? so lets say: 0.01, 0.1,0,1,10,100 and so on. Thanks -- Shane [[alternative HTML version deleted]]
Hello, Try h <- hist(log10(rnorm(0:1000)), xaxt = "n") axis(1, at = pretty(h$breaks), labels = 10^pretty(h$breaks)) Hope this helps, Rui Barradas Em 10-04-2013 14:25, Shane Carey escreveu:> Hi, > > If you have the following lets say: > > hist(log10(rnorm(0:1000))) > > How do you show the labels on the x-axis as log vaules? so lets say: 0.01, > 0.1,0,1,10,100 and so on. > > Thanks >