Re: [R] replacing default axis labels on a plot - SOLUTION

2009-05-15 Thread Graves, Gregory
The original problem posed was: On 14/05/2009 7:31 AM, Graves, Gregory wrote: 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?

[R] replacing default axis labels on a plot

2009-05-14 Thread Graves, Gregory
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)

Re: [R] replacing default axis labels on a plot

2009-05-14 Thread Duncan Murdoch
On 14/05/2009 7:31 AM, Graves, Gregory wrote: 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

Re: [R] replacing default axis labels on a plot

2009-05-14 Thread Graves, Gregory
: Re: [R] replacing default axis labels on a plot On 14/05/2009 7:31 AM, Graves, Gregory wrote: 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

Re: [R] replacing default axis labels on a plot

2009-05-14 Thread Uwe Ligges
[mailto:murd...@stats.uwo.ca] Sent: Thursday, May 14, 2009 8:12 AM To: Graves, Gregory Cc: r-help@r-project.org Subject: Re: [R] replacing default axis labels on a plot On 14/05/2009 7:31 AM, Graves, Gregory wrote: I have 3 columns: flow, month, and monthname, where month is 1-12, and monthname