subplot(m,n,p) %Creates subplot of m rows and n columns and assigns to plot in p index of mxn subplot matrix.