can anyone tell me how to plot, plots of two different programs in a single plot?

조회 수: 1 (최근 30일)
i have two different programs and i need to have comparison plot i.e both outputs in a single plot.

채택된 답변

Alexander
Alexander 2023년 5월 1일
use "hold on" between both plottings:
plot(a,b)
hold on
plot(c,d)
hold off

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by