Multiple plots in one figure (not subplot)

Hello, I'm new on using matlab and for now I just need to create some plots.
Do you know how to create a plot like the one in the attached figure? I know how to use subplot and to have two lines in the same plot even with two yaxis, but I'm not able to find how to create somenthing like this.
Thanks

 Respuesta aceptada

David Hill
David Hill el 19 de Mayo de 2022
Look at stackedplot
tbl = readtable("patients.xls","TextType","string");
stackedplot(tbl,["Height","Weight","Systolic","Diastolic"]);

Más respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Mayo de 2022

Respondida:

el 19 de Mayo de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by