% Zooms in on  the optimizer
% in the minimization basic example.

x = 0.499:0.0001:0.501;
y = -1.001:0.0001:-0.999;
[X,Y] = meshgrid(x,y);
Z = exp(X).*(4*X.^2+2*Y.^2+4*X.*Y+2*Y+1);
surfc(X,Y,Z);
shading interp