How to add black isolines for f(x,y) = -1, 0, 1
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Steven Lord
2021 年 9 月 15 日
Use the contour or contour3 functions.
3 件のコメント
Steven Lord
2021 年 9 月 15 日
[x, y, z] = peaks;
surf(x, y, z)
shading interp
hold on
contour3(x, y, z, [-1, 0, 1], 'k')
参考
カテゴリ
Help Center および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!