How to draw a line on a symbolic surface
3 views (last 30 days)
Show older comments
Rowan Humphreys
on 18 Nov 2021
Commented: Rowan Humphreys
on 18 Nov 2021
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 Comments
Accepted Answer
John D'Errico
on 18 Nov 2021
Edited: John D'Errico
on 18 Nov 2021
syms x1 x2
f1 = x1^2+x2^3-9
fsurf(f1);
hold on
fimplicit(f1,'r')
WTP? :)
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!