Is there a way to add a global subtitle over a group of subplots?

83 views (last 30 days)
Is the a way to add a global subtitle over a group of subplots? I know in the case of a title sgtitle works, but what about subtitle?

Accepted Answer

KSSV
KSSV on 19 May 2022
figure
subplot(221)
title('First Subplot')
subplot(222)
title('Second Subplot')
subplot(223)
title('Third Subplot')
subplot(224)
title('Fourth Subplot')
sgtitle(sprintf('Main title\n subtitle'))

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!