labels of stacked plot
37 次查看(过去 30 天)
显示 更早的评论
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-12
You can add xlabel just like plot function.
But it seems stackedplot does not allow ytickangle,
采纳的回答
Adam Danz
2020-11-19
>The ylabels are aligned horizontally. I'd like to know how to align vertically.
> Also , how can we define x label?
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!