How do i put a title for my entire subplot?
Afficher commentaires plus anciens
i have a 3x3 subplot with the first component looking like this:
subplot(3,3,1),plot(AnkleAng_X(:,1:5))
title('Transverse Plane')
ylabel('Ankle Angle(°)')
I want to put a title at the top of the subplot. My code will create 4, 3x3 subplots so i need titles to differentiate each of them.
Réponse acceptée
Plus de réponses (1)
Cris LaPierre
le 25 Oct 2018
12 votes
There is now (in r2018b) a function in base MATLAB for placing a title over a grid of subplots. It is called sgtitle.
Catégories
En savoir plus sur Title dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!