Show multiple graph in one grid from multiple .m files

1 view (last 30 days)
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?

Answers (1)

Shameer Parmar
Shameer Parmar on 17 Jun 2016
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 Comment
Ali Jaber
Ali Jaber on 17 Jun 2016
Edited: Ali Jaber on 17 Jun 2016
This is the result I got, I want the two graphs on the same grid (Same origin 0)

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!