How to create a contour plot from 2D picture

Hello guys, can anyone help me to create a contour from a 2D image, the contour I mean it's like this. Thanks.

3 个评论

Can't you remove the colors to get what you need? And are those extra line pieces on purpose?
It's not about the colour, but if i have an image and i want to create a contour plot from that image what can i do?
If you have image as attached in the left, you can use patch, fill which fills the specififed color. If the image is different one, read about imcontour.

请先登录,再进行评论。

回答(0 个)

类别

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

评论:

2020-7-21

Community Treasure Hunt

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

Start Hunting!

Translated by