How to stackedplot in Matlab 2016?

1 visualización (últimos 30 días)
Arnab Pal
Arnab Pal el 6 de En. de 2021
Respondida: Steven Lord el 6 de En. de 2021
I need to plot multiple y axis with same x axis.

Respuesta aceptada

Adam Danz
Adam Danz el 6 de En. de 2021
Editada: Adam Danz el 6 de En. de 2021
stackedplot was released in r2018b.
An alternative is stackedaxes() on the file exchange.
The image below compares stackedplot (left) to stackedaxes (right).

Más respuestas (1)

Steven Lord
Steven Lord el 6 de En. de 2021
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.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by