I tried x= -3:3 and y= -6:6 but That isnt correct (I think).
How to specify a domain of x and y values for a graph?
6 views (last 30 days)
Show older comments
I cant seem to get this to work
I am plotting a 3d graph, and I am told to graph it over the domain of 

This is my code so far:
syms x y
f = y^2*(3/4)+y^3*(1/24)-y^4*(1/32)-x^2;
fsurf(f)
axis([-3 3 -3 3 -3 3])
rotate3d on
Accepted Answer
John D'Errico
on 22 Mar 2023
Did you read the help for fsurf? What does the second argument do?
help fsurf
syms x y
f = y^2*(3/4)+y^3*(1/24)-y^4*(1/32)-x^2;
fsurf(f,[-3,3,-6,6])
0 Comments
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!