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

hadley wickham h.wickham at gmail.com
Wed Feb 3 20:15:35 CET 2010


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 <Thomas.Adams at noaa.gov> wrote:
> 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 available space.
>
> regards to all…
>
> --
> Thomas E Adams
> National Weather Service
> Ohio River Forecast Center
> 1901 South State Route 134
> Wilmington, OH 45177
>
> EMAIL:  thomas.adams at noaa.gov
>
> VOICE:  937-383-0528
> FAX:    937-383-0033
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
http://had.co.nz/



More information about the R-help mailing list