Plots.jl icon indicating copy to clipboard operation
Plots.jl copied to clipboard

Shared Title, x and y labels among subplots

Open jenfenghsu opened this issue 5 years ago • 6 comments

This is done with PyPlot, but with Plots.jl + pyplot backend is there a way to achieve the shared title, shared x and y labels among subplots? This is useful when all plots have the same axis label and units, etc. image

jenfenghsu avatar May 08 '20 15:05 jenfenghsu

No, Plots does not support that.

daschw avatar May 08 '20 15:05 daschw

Your could try to achieve this with annotations perhaps

isentropic avatar May 13 '20 11:05 isentropic

@isentropic Thanks! Potentially. But since, FWIK, annotate!() doesn't support positioning with fraction of axis, the positioning will be manual.

jenfenghsu avatar May 17 '20 19:05 jenfenghsu

This would be a great feature! (and rather essential for production quality plots)

yanivabir avatar Jul 11 '20 21:07 yanivabir

Just echoeing that this would be a great feature if not yet supported!

casasgomezuribarri avatar Jan 03 '25 12:01 casasgomezuribarri

The workaround for this is to add subplots in the layout that only contain the titles (in fact, that is how plot_title is implemented).

BeastyBlacksmith avatar Jan 04 '25 12:01 BeastyBlacksmith