Related: Python overlay contour on image or pcolor: contourOverImage.py
To do the overlay, rasterize the image and then overlay a contour to make it work in a 3-D Matlab figure.
Contour over image in 3-D Matlab figure: contourImage2.m
- flatten the contour onto the image in the default z=0 plane
- render as a resized image
- make a pcolor plot
- manipulate the underlying Surface object to an arbitrary 3-D location.
Perhaps not optimal or ideal, but it did work in a pinch.