labels of stacked plot
36 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Deepa Maheshvare
le 11 Nov 2020
Commenté : Adam Danz
le 20 Nov 2020
Hi All,
I've been going through the examples available here https://in.mathworks.com/help/matlab/ref/stackedplot.html to generate a common x axis for plots
newYlabels = {'RH (%)',['T (' degreeSymbol 'F)'],'P (in Hg)'};
stackedplot(outdoors,'Title','Weather Data','DisplayLabels',newYlabels)
The ylabels are aligned horizontally. I'd like to know how to align vertically. Also , how can we define x label?
3 commentaires
Deepa Maheshvare
le 11 Nov 2020
Modifié(e) : Deepa Maheshvare
le 11 Nov 2020
VBBV
le 12 Nov 2020
You can add xlabel just like plot function.
But it seems stackedplot does not allow ytickangle,
Réponse acceptée
Adam Danz
le 19 Nov 2020
>The ylabels are aligned horizontally. I'd like to know how to align vertically.
> Also , how can we define x label?
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Line 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!