How to superimpose nonzero matrix elements to a contour plot?

Hi! I need to add a picture of an object above a contour plot. The object picture contains ones and zeros, and I want only the nonzero elements to be shown. A principal figure is shown below. What is the best way of doing this? I must be able to control the coordinates of the object.

Answers (0)

Categories

Asked:

on 1 Aug 2016

Edited:

on 1 Aug 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!