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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Asked:

on 20 Jul 2020

Commented:

on 21 Jul 2020

Community Treasure Hunt

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

Start Hunting!