matlab two figures in one plot code example
Example: matlab not draw two plots in one figure
By default, new plots clear existing plots and reset axes properties, such as
the title. However, you can use the hold on command to combine multiple plots
in the same axes.