Show multiple graph in one grid from multiple .m files

Is it possible to show the result of the first .m file (graph) at the same grid of the graph resulted from another .m file?

回答(1 个)

check for command: "subplot"
copy the following line completely and paste into command window and check the results
subplot(2,2,2), subplot(2,1,2), subplot(2,2,1)
you need to use such command into your multiple .m file so that it will display the results into once graph..

1 个评论

This is the result I got, I want the two graphs on the same grid (Same origin 0)

请先登录,再进行评论。

标签

提问:

2016-6-17

编辑:

2016-6-17

Community Treasure Hunt

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

Start Hunting!

Translated by