Dear useRs,

Is there a way one can add x-axis values to a histogram? Example:

z = rgamma(n=1000, shape = 8, scale = 1000)
hist(z, breaks = 30)

Currently I see 4 x-axis values: 5000, 10000, 15000, 20000. Can I add more
values or modify the ones currently showing? I tried ?hist, yet couldn't
work this out.

Thank you very much.

-----
~~~~~~~~~~~~~~~~~~~~~~~~~~
Diego Mazzeo
Actuarial Science Student
Facultad de Ciencias Económicas
Universidad de Buenos Aires
Buenos Aires, Argentina
-- 
View this message in context: 
http://www.nabble.com/Adding-x-axis-values-to-a-histogram-tp15983513p15983513.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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