Re: [R] Problem with date x-axis

2009-12-05 Thread Uwe Ligges
PtitBleu wrote: Hello, I have a friday problem. I'm trying to plot the number of measures by day with this command between the 2008-07-31 and the 2009-11-13 (it works) : plot(unique(as.Date(strptime(data$date, format=%Y-%m-%d %H:%M:%S))), measuresbyday) then I would like to plot vertical

[R] Problem with date x-axis

2009-12-04 Thread PtitBleu
Hello, I have a friday problem. I'm trying to plot the number of measures by day with this command between the 2008-07-31 and the 2009-11-13 (it works) : plot(unique(as.Date(strptime(data$date, format=%Y-%m-%d %H:%M:%S))), measuresbyday) then I would like to plot vertical lines for each month.

[R] Problem with date-x-axis in lattice

2008-06-20 Thread Henning Wildhagen
Hello list, i am trying to plot a continous variable y against a date variable, both in one dataframe named df, using a code like this library(lattice) plot1-xyplot(y~date, data=df, type=b) date is of class Date, of course, format=%d.%m.%Y, and spans two calendar years. The problem is that

Re: [R] Problem with date-x-axis in lattice

2008-06-20 Thread Deepayan Sarkar
On 6/20/08, Henning Wildhagen [EMAIL PROTECTED] wrote: Hello list, i am trying to plot a continous variable y against a date variable, both in one dataframe named df, using a code like this library(lattice) plot1-xyplot(y~date, data=df, type=b) date is of class Date, of course,

Re: [R] Problem with date-x-axis in lattice

2008-06-20 Thread Gabor Grothendieck
There is an example in the examples section of ?xyplot.zoo in the zoo package of using panel.axis. It works largely the same way even if you don't use zoo. On Fri, Jun 20, 2008 at 6:06 AM, Henning Wildhagen [EMAIL PROTECTED] wrote: Hello list, i am trying to plot a continous variable y