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:
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.
__
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:
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
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.
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, 2010 at 3:22 PM,
6 matches
Mail list logo