How to add black isolines for f(x,y) = -1, 0, 1
조회 수: 5 (최근 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!