Skip to content
Back to formatted view

Raw Message

Message-ID: <f8e6ff050902040807h1efb053eifd74cd540ad9bc4@mail.gmail.com>
Date: 2009-02-04T16:07:44Z
From: Hadley Wickham
Subject: overlapping bars on "dodge" ggplot histogram - can it be fixed?
In-Reply-To: <87631.88140.qm@web56006.mail.re3.yahoo.com>

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/