[R] ggplot equivalent of par(xaxt)

baptiste auguie baptiste.auguie at googlemail.com
Tue Oct 6 21:07:52 CEST 2009


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
>> >
>> >
>> >
>>  __________________________________________________________________
>> > [[elided Yahoo spam]]
>> >
>> > ______________________________________________
>> > 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.
>> >
>>
>
>
>      __________________________________________________________________
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
> http://ca.toolbar.yahoo.com.
>




More information about the R-help mailing list