how to plot two graphs on one figure in matlab 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.