[R] overlapping bars on "dodge" ggplot histogram - can it be fixed?

hadley wickham h.wickham at gmail.com
Wed Feb 4 17:07:44 CET 2009


On Wed, Feb 4, 2009 at 9:26 AM, Jason Rupert <jasonkrupert at yahoo.com> wrote:
> Hadley,
>
> Thank you again for your suggestion.
>
> I am going with the second solution.  It appears to have a consistent bar
> width and helps to illustrate when data is not present within a certain
> bin.
>
> One other silly question - how in the world do I get the x-axis label to
> "not" show up?  I want the x-label, but not the x-axis to appear, e.g. for
> the example below the not to see the "Rural Feamale", "Rural Male", ... that
> are on the lower x-axis?

The easiest way is + xlab("") or + xlab(NULL)

Hadley

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




More information about the R-help mailing list