필터 지우기
필터 지우기

merging two plots of different program

조회 수: 2 (최근 30일)
sadia sabahat
sadia sabahat 2019년 8월 1일
댓글: Walter Roberson 2019년 8월 2일
how can i call another program so that i merge plots of these two programs.
  댓글 수: 4
Jackson Burns
Jackson Burns 2019년 8월 1일
Can you post your code so that we have more context for the issue?
Walter Roberson
Walter Roberson 2019년 8월 2일
If you are using plot() of a graph() or digraph() object, then you can just
hold on
and plot additional items -- plot() of graph() and digraph() objects use regular axes

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

채택된 답변

Star Strider
Star Strider 2019년 8월 1일
I woiuld save the plot created in the first script as a .fig file using the savefig function, then in the second script use openfig to load it into that script’s workspace and add whatever you want to it using the hold function. Then use savefig on it again, if you want to save the new figure as a .fig file.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by