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 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!