[R] ggplot equivalent of par(xaxt)

John Kane jrkrideau at yahoo.ca
Tue Oct 6 22:17:48 CEST 2009


Blindingly obvious!!  Thanks for that. I can see it will help me find more than one option that I've been interested in.  

--- On Tue, 10/6/09, baptiste auguie <baptiste.auguie at googlemail.com> wrote:

> From: baptiste auguie <baptiste.auguie at googlemail.com>
> Subject: Re: [R] ggplot equivalent of par(xaxt)
> To: "John Kane" <jrkrideau at yahoo.ca>
> Cc: "R R-help" <r-help at stat.math.ethz.ch>
> Received: Tuesday, October 6, 2009, 3:07 PM
> body(theme_grey)
> 
> could help you find the name of a particular option (that's
> what I did).
> 
> baptiste
> 
> 2009/10/6 John Kane <jrkrideau at yahoo.ca>:
> > Lovely.  I knew it was not that difficult, I had even
> gotten as far as deciding it had to be an opts() command but
> I had no idea of what it was.
> >
> > Thanks very much.
> >
> >
> >
> > --- On Tue, 10/6/09, baptiste auguie <baptiste.auguie at googlemail.com>
> wrote:
> >
> >> From: baptiste auguie <baptiste.auguie at googlemail.com>
> >> Subject: Re: [R] ggplot equivalent of par(xaxt)
> >> To: "John Kane" <jrkrideau at yahoo.ca>
> >> Cc: "R R-help" <r-help at stat.math.ethz.ch>
> >> Received: Tuesday, October 6, 2009, 2:57 PM
> >> Hi,
> >>
> >> 2009/10/6 John Kane <jrkrideau at yahoo.ca>:
> >> > How do I suppress the numbers on the x-axis?
> >> >
> >>
> >> Try this,
> >>
> >> p + opts(axis.text.x = theme_blank())
> >>
> >> HTH,
> >>
> >> baptiste
> >>
> >>
> >>
> >> > Thanks



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/




More information about the R-help mailing list