Multiple plots in one figure (not subplot)
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
David Hill
2022년 5월 19일
Look at stackedplot
tbl = readtable("patients.xls","TextType","string");
stackedplot(tbl,["Height","Weight","Systolic","Diastolic"]);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!