Clear Filters
Clear Filters

Hi, I am trying to plot 3 variables in ezcontour plot. But it shows error.

1 view (last 30 days)
I want to plot this equation:
x^2+sin(x*y)+y^2+z^2=0
using ezcontour over the domain (-pi/2<x<pi/2,-pi/2<y<pi/2). But I am getting error. Help please. Thank you

Accepted Answer

Walter Roberson
Walter Roberson on 13 Apr 2016
ezcontour() and the new fcontour() can only plot functions of at most 2 variables. You will need to construct a 3D array and use isosurface() on it.
My testing suggests that the only solution is x = 0, y = 0, z = 0

More Answers (0)

Community Treasure Hunt

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

Start Hunting!