How can i plot the results of two separate m files in same figure window.

1 次查看(过去 30 天)
I want to do this for comparative purpose

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-11-19
plot(x1,y1,x2,y2)
%or
plot(x1,y1)
hold on
plot(x2,y2)
hold off
%or
plotyy(x1,y1,x2,y2)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by