Re: [R] x-axis plot problem

2010-02-08 Thread abotaha
Many many thanks.it is working now very well. again thanks a lot. -- View this message in context: http://n4.nabble.com/x-axis-plot-problem-tp1472286p1473006.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.or

Re: [R] x-axis plot problem

2010-02-08 Thread David Winsemius
On Feb 8, 2010, at 5:00 AM, abotaha wrote: Thanks guys, it works now properly when I change axas="i" to axat="n", but there is a space between the box from the left side (y-axis) and the beginning plotted curve. please could you tell me how avoid that. any suggestions Add the xaxt but do

Re: [R] x-axis plot problem

2010-02-08 Thread abotaha
Thanks guys, it works now properly when I change axas="i" to axat="n", but there is a space between the box from the left side (y-axis) and the beginning plotted curve. please could you tell me how avoid that. any suggestions thanks, -- View this message in context: http://n4.nabble.com/x-

Re: [R] x-axis plot problem

2010-02-07 Thread Jorge Ivan Velez
Hi abotaha, Modify your matplot() call as matplot(model, pch = c(1,22,17,16), type = "o",lty=c(2,2,2,5), col =c("gray10"," gray10","gray10","gray10"),xlab="Month-Year",ylab="Zinth", xaxt = "n", yaxs = "i",main="Model Output") and then add axis(1, 1:6, time) HTH, Jorge On Sun, Feb 7,

Re: [R] x-axis plot problem

2010-02-07 Thread Rolf Turner
I think you just need to set axes=FALSE in your call to matplot(). You'll then need to add the y-axis manually --- do axis(2) in addition to your call which draws the x axis. You'll also need to do box() if you want a box around your graph. cheers, Rolf Turner P. S. You

Re: [R] x-axis plot problem

2010-02-07 Thread David Winsemius
On Feb 7, 2010, at 3:22 PM, abotaha wrote: Hi all, I tried to have plot of many vector in one plot and i have got a nice plot but i have problem with x-axis. I want to have month and year only(Jul.07 means July 2007) in x-axis without appearing other number behaind it. I'm going to assu

[R] x-axis plot problem

2010-02-07 Thread abotaha
Hi all, I tried to have plot of many vector in one plot and i have got a nice plot but i have problem with x-axis. I want to have month and year only(Jul.07 means July 2007) in x-axis without appearing other number behaind it. I would appercit any help. The R code: F<-c(7.49,6.91,6.78,6.99,7.