MATLAB: Merging two figures to a single figure

figuremergeplot

I have two figures as shown. What should i do if i want to merge both of the figures in to a single figure?