Adding a small plot under my main plot with time-locked p-values

33 views
Skip to first unread message

elmariachiism

unread,
Aug 3, 2017, 5:01:44 PM8/3/17
to ggplot2
Basically I want to reproduce this plot (plot B) http://www.cell.com/cms/attachment/2007961507/2030659855/gr1.jpg

Is this possible in ggplot? I don't see how both plots could be put together like that.

Here's some demo data in case you think it's possible:

Best

Kevin Stierhoff - NOAA Federal

unread,
Aug 3, 2017, 5:13:11 PM8/3/17
to elmariachiism, ggplot2

--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
 
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+unsubscribe@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Kevin Stierhoff
Research Fisheries Biologist
NOAA Fisheries-SWFSC
Fisheries Resources Division
110 McAllister Way
Santa Cruz, CA 95060

elmariachiism

unread,
Aug 3, 2017, 5:30:36 PM8/3/17
to ggplot2, exalow...@gmail.com
That's a nice package. A colleague gave me a tip that solved it for me though:

not exactly the same, but it does the job


On Thursday, August 3, 2017 at 11:13:11 PM UTC+2, Kevin Stierhoff wrote:
On Thu, Aug 3, 2017 at 12:18 PM, elmariachiism <exalow...@gmail.com> wrote:
Basically I want to reproduce this plot (plot B) http://www.cell.com/cms/attachment/2007961507/2030659855/gr1.jpg

Is this possible in ggplot? I don't see how both plots could be put together like that.

Here's some demo data in case you think it's possible:

Best

--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
 
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com

More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

John Hammond

unread,
Aug 3, 2017, 6:08:30 PM8/3/17
to Kevin Stierhoff - NOAA Federal, elmariachiism, ggplot2
Kevin this allows Multiple plots on one page with ggplot()


http://rstudio-pubs-static.s3.amazonaws.com/2852_379274d7c5734f979e106dcf019ec46c.html

On Thu, Aug 3, 2017 at 4:12 PM, Kevin Stierhoff - NOAA Federal
<kevin.s...@noaa.gov> wrote:
> Check out the cowplot() package.
> https://cran.r-project.org/web/packages/cowplot/vignettes/introduction.html
>
>
>
> On Thu, Aug 3, 2017 at 12:18 PM, elmariachiism <exalow...@gmail.com>
> wrote:
>>
>> Basically I want to reproduce this plot (plot B)
>> http://www.cell.com/cms/attachment/2007961507/2030659855/gr1.jpg
>>
>> Is this possible in ggplot? I don't see how both plots could be put
>> together like that.
>>
>> Here's some demo data in case you think it's possible:
>> https://pastebin.com/6HcK2X2u
>>
>> Best
>>
>> --
>> --
>> You received this message because you are subscribed to the ggplot2
>> mailing list.
>> Please provide a reproducible example:
>> https://github.com/hadley/devtools/wiki/Reproducibility
>>
>> To post: email ggp...@googlegroups.com
>> To unsubscribe: email ggplot2+u...@googlegroups.com
>> More options: http://groups.google.com/group/ggplot2
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "ggplot2" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ggplot2+u...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Kevin Stierhoff
> Research Fisheries Biologist
> NOAA Fisheries-SWFSC
> Fisheries Resources Division
> 110 McAllister Way
> Santa Cruz, CA 95060
> Kevin.S...@noaa.gov
> (831) 420-3919
>
> --
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example:
> https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ggplot2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ggplot2+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages