필터 지우기
필터 지우기

How to plot separate scripts into one plot

조회 수: 2 (최근 30일)
g
g 2018년 7월 11일
답변: Walter Roberson 2018년 7월 12일
If I have two Matlab scripts, for example "apple.m" and "ball.m" that plot with the same axes (just different data), etc. how can I plot them on the same plot? Thank you.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 7월 12일
Much of the time, you can just run the first one, then command
hold on
and then run the second one.
This will not always work; when it does not work, then typically it is necessary to modify the code.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by