x = -2*pi:0.1:2*pi; hold all subplot(2,3,1) plot(sin(x), sin(x+pi/2)) subplot (2,3,2) plot(sin(x),sin(x+pi/4)) subplot (2,3,3) plot(sin(x),sin(x)) subplot(2,3,4) plot(sin(x),sin(x+3*pi/4)) subplot (2,3,5) plot(sin(x),sin(x+3*pi/4)) subplot(2,3,6) plot(sin(x),sin(x+2*pi))
To embed this program on your website, copy the following code and paste it into your website's HTML: