when plotting using a master file from 2 different file, the two plots from the 2 different files appear on the same figure?

Answers (1)

Insert a figure() call before doing the second plot, if you want both to be visible at the same time.
If you want the second one to replace the first, then before plotting the second, give the command
hold off
Note: if the two are being generated by a single plot() call, then matters get more complicated.

Tags

Asked:

on 17 Nov 2013

Answered:

on 17 Nov 2013

Community Treasure Hunt

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

Start Hunting!