[R] scale_x_continuous

hadley wickham h.wickham at gmail.com
Wed Dec 26 22:47:28 CET 2007


> dt + scale_x_date()
>  dt + scale_x_date(format="%m/%d")
>  dt + scale_x_date(format="%W")+

You can only have one x scale - the last one overrides all the others.
 The date scale (currently) doesn't have a limits setting (what units
would you specify it in?), but you could use subset to plot only the
subject of interest.

Hadley

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



More information about the R-help mailing list