Filled countour plot for a specific value

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 日

0 投票

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 件のコメント

Jaydeep Ravalji
Jaydeep Ravalji 2023 年 7 月 14 日
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 Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by