Common Y label for multiple subplots in MATLAB!!!
Afficher commentaires plus anciens
Can anyone please help, how to put common y label for multiple subplots in MATLAB figures?
Réponse acceptée
Plus de réponses (1)
He Zhu Zhu
le 15 Nov 2019
If you used common Y label for multiple subplots, you might need to link the axes. The simplest way to do this is linkaxes function. Linked axes will behave synchronously when using pan or zoom tools.
ax1 = subplot(1, 2, 1);
ax2 = subplot(1, 2, 2);
linkaxes([ax1, ax2], 'y');
Catégories
En savoir plus sur Subplots 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!