Make subplots larger in Plots.jl


I generate a group of subplots by plot(<plots>..., layout=<number of plots>)

Is there a way to set make the height of those plots larger without setting an absolute size? (I’m working from a notebook)

1 Like

You may try

using Plots.PlotMeasures
plot(..., margin=-5mm)

It’s not a super good approach, but it sometimes allow you to get the plot you want.

You can also try to only have an x label on the bottom plot, together with link = :x to make sure the X-axis of each plot is synced with the bottom plot.

1 Like

margin=-2mm helped a bit (seems also to depend on the backend) but I’d rather make the plots larger

1 Like

I think increasing the overall height of the plot via size is the only way I know

1 Like