[R] replacing default axis labels on a plot

Graves, Gregory ggraves at sfwmd.gov
Thu May 14 13:31:45 CEST 2009

I have 3 columns:  flow, month, and monthname, where month is 1-12, and
monthname is name of month.  I can't get the plot to replace the 1-12
with monthname using ticks.lab.  What am I doing wrong?

plot(flow~factor(month),xlab="Month",ylab="Total Flow per Month",
ylim=c(0,55000), ticks.lab="monthname")


Gregory A. Graves
Lead Scientist
REstoration COoordination and VERification (RECOVER) 
Watershed Division
South Florida Water Management District
Phones:  DESK: 561 / 682 - 2429 
             CELL:  561 / 719 - 8157

More information about the R-help mailing list