How to draw a line on a symbolic surface
3 次查看(过去 30 天)
显示 更早的评论
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
fsurf(f1);
0 个评论
采纳的回答
John D'Errico
2021-11-18
编辑:John D'Errico
2021-11-18
syms x1 x2
f1 = x1^2+x2^3-9
fsurf(f1);
hold on
fimplicit(f1,'r')
WTP? :)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!