Skip to content

X and Y axis labels on a barplot

1 message · Steve Murray

#
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]]