delta=0.2; 
V = -2.0:delta:2.0; 
N=10;
[X,Y,Z] = peaks(V);
[U,V] = gradient(Z,delta);
figure(1)
contour(X,Y,Z,N)
hold on
quiver(X,Y,U,V)
hold off 






