How to combine two plots into one

조회 수: 5 (최근 30일)
SS
SS 2019년 8월 24일
댓글: Star Strider 2019년 8월 26일
I am using MATLAB R2018 b. I have two plots with same x but, the limits of y axes are different. Both plots has a line and some data points (different color of the line and shape of the markers). These two plots are output from two different scripts. I want to combine these two plots to compare my results.
I am unable to use the dock figure option which was suggested for one such similar questions in the community.
Any help would be appreciated.

채택된 답변

Star Strider
Star Strider 2019년 8월 24일
Plot both data series on the same axes either in the same plot call, or use the hold function with two plot calls.
  댓글 수: 14
SS
SS 2019년 8월 26일
Thanks.
Star Strider
Star Strider 2019년 8월 26일
As always, my pleasure.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by