Arranging two plots in ggplot
1
0
Entering edit mode
2.9 years ago
Space_Life ▴ 50

Hi, I have a quick question. I made two plots p1 and p2 and arranged them in two rows (p1 at top, p2 at bottom) in ggplot (R). I used p1 / p2 to do this. I have more data points in p1 and wanted to make it like 80% of the height and fit p2 in the remaining space. I want the width to be the same for both. Any quick code to do this? I searched but could not find any solution. Thank you for helping.

arrange ggplot • 667 views
ADD COMMENT
1
Entering edit mode
ADD COMMENT
0
Entering edit mode

This worked so well. Thank you. :)

ADD REPLY

Login before adding your answer.

Traffic: 1632 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6