How can I make the following plot?
Ältere Kommentare anzeigen

Suppose I have time series for PSPP, CBPP3, CSPP, ABSPP. How would you make a plot that looks like the one above?
Akzeptierte Antwort
Weitere Antworten (1)
David Hill
am 15 Apr. 2020
Assuming your inputs are a row vectors of the same size.
y=[PSPP',CBPP3',CSPP3',ABSPP'];
bar(y,'stacked');
Kategorien
Mehr zu Axis Labels finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!