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


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to