labels of stacked plot
이전 댓글 표시
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
VBBV
2020년 11월 11일
%if true
% code
% end
ytickangle(90);
Deepa Maheshvare
2020년 11월 11일
편집: Deepa Maheshvare
2020년 11월 11일
VBBV
2020년 11월 12일
You can add xlabel just like plot function.
But it seems stackedplot does not allow ytickangle,
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!