Multiple plots in one figure (not subplot)
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Giuditta CELLI
am 19 Mai 2022
Beantwortet: David Hill
am 19 Mai 2022
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
0 Kommentare
Akzeptierte Antwort
David Hill
am 19 Mai 2022
Look at stackedplot
tbl = readtable("patients.xls","TextType","string");
stackedplot(tbl,["Height","Weight","Systolic","Diastolic"]);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!