Réponse acceptée

Adam Danz
Adam Danz le 6 Jan 2021
Modifié(e) : Adam Danz le 6 Jan 2021

1 vote

stackedplot was released in r2018b.
An alternative is stackedaxes() on the file exchange.
The image below compares stackedplot (left) to stackedaxes (right).

Plus de réponses (1)

Steven Lord
Steven Lord le 6 Jan 2021

0 votes

The stackedplot function was introduced in release R2018b. If you want to use this function you will need to upgrade to release R2018b or later. For earlier releases you could get close to the functionality by using subplot to create multiple axes and plotting each variable in a different axes.

Catégories

En savoir plus sur Line Plots dans Centre d'aide et File Exchange

Produits

Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by