How to stack stairs-plot?
4 次查看(过去 30 天)
显示 更早的评论
How to stack stairs plot?
Stacking bar-plot works like
x=1:30;
M= rand(6,30);
bar(x, M', 'stack', 'BarWidth',1);
But stacking bar-plot is not satisfying due to the shift in the x-axis. Maybe it is easier to shift the bar-plot instead of using stairs. I want the filling being colored.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!