subplot(m,n,p) divides the current figure into an m-by-n grid and creates axes in the position specified by p.MATLAB ® numbers subplot positions by row. The first subplot is the first column of the first row, the second subplot is the second column of the first row, and so on. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.