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.

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by