Gradient, contours and spot heights