Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 15851

Plot too Wide in Patchwork (R)

$
0
0

I've been struggling to understand the patchwork package in R. The barchart on the right of the plot should be much thinner, like the one on top of the scatter plot. Below is my code. Any suggestions?

Thank you!

(fac1_trajectory_bp + coord_flip()) / (p_bm) +  plot_layout(height = c(0.125,1)) |   (guide_area() / fac1_trajectory_bp) +  plot_layout(heights = c(0.125,1), widths = c(0.125,1))

enter image description here


Viewing all articles
Browse latest Browse all 15851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>