% plots four levels of Koch curves % gset key off subplot(2,2,1) axis('equal') hold off koch([0 0],[1 1],0); subplot(2,2,2) axis('equal') hold off koch([0 0],[1 1],1); subplot(2,2,3) axis('equal') hold off koch([0 0],[1 1],2); subplot(2,2,4) axis('equal') hold off koch([0 0],[1 1],3); axis('equal')