labels of stacked plot
Ältere Kommentare anzeigen
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 Kommentare
VBBV
am 11 Nov. 2020
%if true
% code
% end
ytickangle(90);
Deepa Maheshvare
am 11 Nov. 2020
Bearbeitet: Deepa Maheshvare
am 11 Nov. 2020
VBBV
am 12 Nov. 2020
You can add xlabel just like plot function.
But it seems stackedplot does not allow ytickangle,
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!