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

1 visualización (últimos 30 días)
I want to do this for comparative purpose

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 19 de Nov. de 2013
plot(x1,y1,x2,y2)
%or
plot(x1,y1)
hold on
plot(x2,y2)
hold off
%or
plotyy(x1,y1,x2,y2)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by