[x y]=meshgrid(-3:0.1:3,-3:0.1:3);z1 = x.*y;z2 = sin(x.*y);subplot(221);mesh(x,y,z1);subplot(222);mesh(x,y,z2);subplot(223);contour(x,y,z1);subplot(224);contour(x,y,z2);