Relative Content

Tag Archive for rggplot2facet-grid

R: alter height of certain facet rows while maintaining y-axis scale

I’ve arranged ggplots in a facet_grid() that results in 6 plots arranged as 3 columns x 2 rows. I want each column of facets to have its own y-axis range. However, I want independent columns to have their own y-axis scale. To accomplish this, I’ve saved each column of facets as independent plots and then use patchwork to stitch the plots together.