How to add black isolines for f(x,y) = -1, 0, 1
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi ,
I have f(x,y) and I want to add black isolines for f(x,y) = -1, 0, 1. How can I do it?
Thanks
0 Kommentare
Antworten (1)
Steven Lord
am 15 Sep. 2021
Use the contour or contour3 functions.
3 Kommentare
Steven Lord
am 15 Sep. 2021
[x, y, z] = peaks;
surf(x, y, z)
shading interp
hold on
contour3(x, y, z, [-1, 0, 1], 'k')
Siehe auch
Kategorien
Mehr zu Contour Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!