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 中查找有关 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