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 Center および File ExchangeSurface 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