How to stack stairs-plot?

5 visualizzazioni (ultimi 30 giorni)
Lare
Lare il 20 Nov 2014
Modificato: Lare il 20 Nov 2014
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.

Risposte (0)

Categorie

Scopri di più su Discrete Data Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by