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)

 Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 13 Jul. 2023
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 Kommentare

Jaydeep Ravalji
Jaydeep Ravalji am 14 Jul. 2023
Dear sir It works for me. Thank you for reply Jaydeep
Dyuman Joshi
Dyuman Joshi am 14 Jul. 2023
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by