How to plot these types of graph in matlab?

조회 수: 5 (최근 30일)
Athira T Das
Athira T Das 2022년 8월 27일
답변: Image Analyst 2022년 8월 27일
How to seperate multiplot and to show graph in same window?
  댓글 수: 1
dpb
dpb 2022년 8월 27일
Nothing builtin at all -- you'll have to create each axis individually -- two aren't so bad; that's the old plotyy way where the two overlap entirely. Not sure what happens about layers when get more than two to have everything visible as in the above; never really tried...

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2022년 8월 27일
Personally I find that distracting and wouldn't like it if the author presented the data like that. I'd rather have them all on the same plot but in different colors, or vertically stacked like stackedplot
If you insist, you can get the handle of each and see if you can move them by setting the 'Position' property so that they overlap.
Or maybe make one huge plot/axes control that is the size of the whole figure window and use the attached demo to inset the different plots within the largest, whole-figure plot.

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by