[R] X and Y axis labels on a barplot
Steve Murray
smurray444 at hotmail.com
Wed May 6 15:48:34 CEST 2009
A very reasonable request! Sorry for not doing this initially, but please find below the data I am trying to plot:
> total_sums
sums86 sums87 sums88 sums89 sums90 sums91 sums92
Sim_1986 17722203 16875889 18626582 18428415 17611182 17290016 16819289
X1986 15276602 14086272 15387747 15560882 14905453 14939493 13979001
sums93 sums94 sums95
Sim_1986 17657959 17803561 18016143
X1986 14814672 15003711 14464427
This is the command I've successfully managed to execute:
> barplot(total_sums, beside=TRUE, col=(2:3), las=2)
...however, I'm running into problems when trying to change the default x-axis tick marks from sumsXX to 1986:1995. I'm also trying to change the format of the y-axis values as mentioned in my previous post.
Many thanks again,
Steve
_________________________________________________________________
[[elided Hotmail spam]]
More information about the R-help
mailing list