How can I make the following plot?
Afficher commentaires plus anciens

Suppose I have time series for PSPP, CBPP3, CSPP, ABSPP. How would you make a plot that looks like the one above?
Réponse acceptée
Plus de réponses (1)
David Hill
le 15 Avr 2020
Assuming your inputs are a row vectors of the same size.
y=[PSPP',CBPP3',CSPP3',ABSPP'];
bar(y,'stacked');
Catégories
En savoir plus sur Axis Labels dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!