[R] Problems with boxplot in ggplot2:qplot

hadley wickham h.wickham at gmail.com
Mon Feb 15 20:25:28 CET 2010


Hi Dimitri,

Have you looked at the examples for scale_x_date -
http://had.co.nz/ggplot2/scale_date.html?  They show you how to both
set the limits and control the labels.

Hadley

On Sun, Feb 14, 2010 at 1:34 PM, Dimitri Shvorob
<dimitri.shvorob at gmail.com> wrote:
>
> ... Unfortunately, a problem remains: I cannot label x ticks a la 'names.arg
> =  '.
>
> month has values like '2009-01-01', '2009-02-01', etc., while I would prefer
> 'Jan', 'Feb'. Using
>
> closed$month = format(closed$month, "%b")
>
> disrupts the order of plot's panels, which now follows the alphabetic order
> of month names.
>
> --
> View this message in context: http://n4.nabble.com/Problems-with-boxplot-in-ggplot2-qplot-tp1555338p1555358.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list