[R] (with subject)

Dr Eberhard W Lisse el at lisse.na
Fri Sep 5 16:18:45 CEST 2008


Oh, YES, thank you!

This weekend I'll try and figure out how to plot these events on
a 24 hour scale, i.e I'll aggregate the SQL query on the time
But not on the date) to see how many of those fall outside of
normal working hours :-)-O

greetings, el

On 05 Sep 2008, at 00:59 , Gabor Grothendieck wrote:

> I assume the problem is that you want the axis to have all 12
> months but your data is much shorter.  Try this:
>
> mos <- seq(as.Date("2008-01-01"), length = 12, by = "month")
> plot(range(mos), range(rawData$y), type = "n", xaxt = "n")
> lines(rawData$Date, rawData$y)
> axis(1, mos, month.abb)



More information about the R-help mailing list