I tried drawing an elliptic paraboloid ($\displaystyle z = x^2 + y^2$) in Matlab with the following code:

>> [x y] = meshgrid(0 : 5);

>> z = x.^2 + y.^2;

>> surf(z);

However the surface which it produced does not look like an elliptic paraboloid (please refer to the attachment).