Displaying 1 result from an estimated 1 matches for "frac_et_satsfd_mean".
2010 Feb 22
2
adding infrequent date labels to x-axis
...thought has been along these lines
x<-seq(as.Date("1999-04-01"),as.Date("2007-10-25"),by="1 month")
y<-as.POSIXlt(x)$mon+1
months<-month.name
month.names<-months[as.numeric(y)]
month.names<-substr(month.names,1,3)
plot(cropped.cast1$date,cropped.cast1$Frac_ET_Satsfd_mean,xaxt='n')
mtext(text=month.names,side=1,at=???
I'm not sure how to tie "month.names" back to their true location on the
x-axis?
I appreciate any insights, Eric
Also,
>class(cropped.cast1$date)
[1] "POSIXt" "POSIXct"
>cropped.cast1
date Frac...