draws contour plot