Quantcast
Channel: ggplot: How to increase spacing between faceted plots? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Gorka for ggplot: How to increase spacing between faceted plots?

Just to add to @rcs response:# Change spacing between facets on both axisp + theme(panel.spacing = unit(2, "lines"))# Change horizontal spacing between facetsp + theme(panel.spacing.x = unit(2,...

View Article



Answer by rcs for ggplot: How to increase spacing between faceted plots?

Use the theme function:library(grid)p + theme(panel.spacing = unit(2, "lines"))See also here: Slicing plots generated by ggplot2

View Article

ggplot: How to increase spacing between faceted plots?

I have several faceted histograms (obtained with the command below) which are nicely plotted one under the other. I would like to increase the spacing between them, however, they are tight.I looked at...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images