Dear all,

I have some data.frame and I would like (1) change the format of y=axis to
escape of scientific format (like 1e+05...) and (2) label the value or other
variable on the top of the bar.

df<-data.frame(x=1:6,y=c(100,500,1000,25000,500000,1000000))
barplot(df$y,names.arg=df$x)

Thanks in advance,

miltinho
Brazil

        [[alternative HTML version deleted]]

______________________________________________
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