Re: [R] ggplot2/qplot question regarding reducing the no. of x-axis labels

2010-02-03 Thread Thomas Adams
Dennis, Thanks; that's just what I needed! Regards, Tom Dennis Murphy wrote: Hi: ggplot2 works with dates of class date and times of class POSIXct. See scale_x_date(), which is discussed in section 6.4.2 of the ggplot2 book. HTH, Dennis On Wed, Feb 3, 2010 at 11:15 AM, Thomas Adams

Re: [R] ggplot2/qplot question regarding reducing the no. of x-axis labels

2010-02-03 Thread hadley wickham
Hi Thomas, Please provide a reproducible example. The most likely explanation is that after loading your data you haven't converted your "date" variable from a factor into a real date. Hadley On Wed, Feb 3, 2010 at 1:15 PM, Thomas Adams wrote: > All: > > I am using the command: qplot(date,MAE,

[R] ggplot2/qplot question regarding reducing the no. of x-axis labels

2010-02-03 Thread Thomas Adams
All: I am using the command: qplot(date,MAE,data=data,facets=INTERVAL~type) which works fine except that the dates for my date axes are crunched together so much that they are unreadable. I can not find an option that I can set that will automatically reduce the x-axis labels to fit the avail