[R] X and Y axis labels on a barplot

Steve Murray smurray444 at hotmail.com
Wed May 6 15:05:38 CEST 2009


Dear all,

I have produced a barplot and wish to alter the axes a little. In place of the variable names appearing on the x-axis, I'd like to have the numbers 1986 to 1995. I have tried using the argument xlim=c(1986,1995) in the barplot command but receive: "Error in plot.window(xlim, ylim, log = log, ...) : invalid 'xlim' value"

Also, on the y-axis, the values are currently displayed in the format e.g. 1.5e+07  -  how do I go about converting such values into normal notation, e.g. 15000000 ?

Many thanks,

Steve


_________________________________________________________________
[[elided Hotmail spam]]




More information about the R-help mailing list