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

12 views (last 30 days)
Muna Awajan
Muna Awajan on 19 May 2022
Edited: Muna Awajan on 19 May 2022
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!

Translated by