How to draw a line on a symbolic surface

조회 수: 2 (최근 30일)
Rowan Humphreys
Rowan Humphreys 2021년 11월 18일
댓글: Rowan Humphreys 2021년 11월 18일
I would really like a line running along the surface below at all points where f1=0. kind of like a contour line in 3d.
syms x1 x2
f1 = x1^2+x2^3-9
f1 = 
fsurf(f1);

채택된 답변

John D'Errico
John D'Errico 2021년 11월 18일
편집: John D'Errico 2021년 11월 18일
syms x1 x2
f1 = x1^2+x2^3-9
f1 = 
fsurf(f1);
hold on
fimplicit(f1,'r')
WTP? :)
  댓글 수: 1
Rowan Humphreys
Rowan Humphreys 2021년 11월 18일
You are a gift from god himself. Thank you so much.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by