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

Rik
Rik 2020년 7월 20일
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?
KSSV
KSSV 2020년 7월 21일
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월 20일

댓글:

2020년 7월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by