Function file: h = subplot(M,N,P)
If we want to place to one figure more than one drawings, we can use function subplot. This function hand out figure according to matrix MxN. Parameter P is place, where the next drawings will be ploted. It returns handle to variable h.