Re: [R] plotting time series with zoo pckg

2006-12-27 Thread ahmad ajakh
Thank you Gabor. This is very helpful. AA. - Original Message From: Gabor Grothendieck <[EMAIL PROTECTED]> To: ahmad ajakh <[EMAIL PROTECTED]> Cc: r-help@stat.math.ethz.ch Sent: Wednesday, December 27, 2006 12:08:41 PM Subject: Re: [R] plotting time series with zoo pckg T

Re: [R] plotting time series with zoo pckg

2006-12-27 Thread Gabor Grothendieck
b = FALSE) > jd <- time(z2)[seq(1, dim(z2)[[1]], 3)] > axis(1,jd, as.character(jd),cex.axis = 0.8, tcl = -0.7, las = 2) > #-----------End--- > > - Original Message > From: Gabor Grothendieck <[EMAIL PROTECTED]> > To: a

Re: [R] plotting time series with zoo pckg

2006-12-27 Thread ahmad ajakh
aracter(jd),cex.axis = 0.8, tcl = -0.7, las = 2) #---End--- - Original Message From: Gabor Grothendieck <[EMAIL PROTECTED]> To: ahmad ajakh <[EMAIL PROTECTED]> Cc: r-help@stat.math.ethz.ch Sent: Tuesday, December 26, 2006 11:17:44 PM Subject: Re: [R] plotting time series

Re: [R] plotting time series with zoo pckg

2006-12-26 Thread Gabor Grothendieck
: Gabor Grothendieck <[EMAIL PROTECTED]> > To: ahmad ajakh <[EMAIL PROTECTED]> > Cc: r-help@stat.math.ethz.ch > Sent: Tuesday, December 26, 2006 8:31:07 PM > Subject: Re: [R] plotting time series with zoo pckg > > Try this: > > > # test data > library(zoo

Re: [R] plotting time series with zoo pckg

2006-12-26 Thread ahmad ajakh
question) and it worked! is there something that I am missing? Thanks again. AA. - Original Message From: Gabor Grothendieck <[EMAIL PROTECTED]> To: ahmad ajakh <[EMAIL PROTECTED]> Cc: r-help@stat.math.ethz.ch Sent: Tuesday, December 26, 2006 8:31:07 PM Subject: Re: [R] plotting

Re: [R] plotting time series with zoo pckg

2006-12-26 Thread Gabor Grothendieck
Try this: # test data library(zoo) z <- structure(c(21, 34, 33, 41, 39, 38, 37, 28, 33, 40), index = structure(c(8044, 8051, 8058, 8065, 8072, 8079, 8086, 8093, 8100, 8107), class = "Date"), class = "zoo") z # plot without X axis plot(z, xaxt = "n") # unlabelled tick at each point axi

[R] plotting time series with zoo pckg

2006-12-26 Thread ahmad ajakh
Hi all, I am using the zoo package to plot time series. I have a problem with formatting the axes. my zoo object (z) looks like the following. c1 1992-01-10 21 1992-01-17 34 1992-01-24 33 1992-01-31 41 1992-02-07 39 1992-02-14 3