[R] plot with abscissa in hours/weekdays

2006-05-15 Thread m p
Hello, How can I use plot and have abscissa in hours say (20:00,22:00,00:00,02:00 etc) and also weekdays say (Mon, Tue, Wed, ...) ? Is there a command that I can put into plot(xvec,yvec...,axes=...) that would enable that? Thanks for help, Mark __

Re: [R] plot with abscissa in hours/weekdays

2006-05-15 Thread Ritwik Sinha
Hi, You can use the axis() command. For example plot(xvec,yvec, xaxt=n) axis(side=1, labels=c(Mon, Tue), at=c(0,1)) The xaxt sets up the axis but does not plot it. And axis does the rest. Ritwik. Case Western Reserve University http://darwin.cwru.edu/~rsinha m p wrote: Hello, How can I

Re: [R] plot with abscissa in hours/weekdays

2006-05-15 Thread Gabor Grothendieck
On 5/15/06, m p [EMAIL PROTECTED] wrote: Hello, How can I use plot and have abscissa in hours say (20:00,22:00,00:00,02:00 etc) and also weekdays say (Mon, Tue, Wed, ...) ? Is there a command that I can put into plot(xvec,yvec...,axes=...) that would enable that? I assume these are two