Hello sir
Please help to create a filled contour plot for a specific value (Fig. b) extracted from original contour plot (Fig. a) as shown in following images.
Thank you
Jaydeep
(a)
(b)

 채택된 답변

Cris LaPierre
Cris LaPierre 2023년 7월 13일
See this example in the documentation, which just displays the contour at z=2: https://www.mathworks.com/help/matlab/ref/contourf.html#mw_39eae52b-d6d9-4fe0-ab4a-829511beab1d
[X,Y,Z] = peaks;
contourf(X,Y,Z,[2 2],'ShowText','on')

댓글 수: 2

Dear sir It works for me. Thank you for reply Jaydeep
Dyuman Joshi
Dyuman Joshi 2023년 7월 14일
Hello @Jaydeep Ravalji, if this answer solved your problem, please consider accepting the answer.
Accepting the answer indicates that your problem has been solved (which can be helpful to other people in future) and it awards the volunteer with reputation points for helping you.
You can accept only 1 answer for a question, but you can vote for as many answers as you want. Voting an answer also provides reputation points.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2023년 7월 13일

댓글:

2023년 7월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by