MATLAB/Cookbook/plot3D

This makes a color contour plot:

Out of all the student contributions, this was the best and also took the least amount of time
[X,Y] = meshgrid(0:0.01:1,0:0.01:1);
Z = X.^2 + 2*Y.^2;
figure
surface(X,Y,Z)