Y-Axis location in MATLAB plots
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
henry wang
le 27 Jan 2011
Réponse apportée : Wenxuan Liang
le 10 Mar 2021
I've seen plots with y-axis at the center of the plot rather than to the left. How do I do this in MATLAB?
2 commentaires
Paulo Silva
le 27 Jan 2011
Please be more specific, you could be talking about using suplots or adjusting the axis so y is at center or something else.
Réponse acceptée
Plus de réponses (2)
Wenxuan Liang
le 10 Mar 2021
Just use set(gca, 'YAxisLocation', 'origin') if you are using a MATLAB newer than 2018, I think
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!