How to stack stairs-plot?

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개)

카테고리

도움말 센터File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

질문:

2014년 11월 20일

편집:

2014년 11월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by