# Plot an isosurface of a function depending on three variables

3 views (last 30 days)
Abdelmajid Ben yahya on 20 May 2021
Dear all,
I have a question about plotting a specific surface (in 3D) or line (in 2D). As i have a function f with three symbolic variables x,y, and z, f(x,y,z), I would like to plot the surface where the combination of variables gives a function value equal to zero. The range of the symbolic variables are known.
x = [10,50];
y=[5,100];
z=[100,300];
I already tried the "contourf" function, but i do not get the required result.
Does anybody have any suggestion ?
KSSV on 20 May 2021
How the function f(x,y,z) is defined? You have not shown us the function.
Abdelmajid Ben yahya on 20 May 2021
It is quit a large function. That is why I converted my specific question to a more general one.
If you want to see how the function looks you can find in attachment. The three variables are in my case a,b and h.
The boundaries of the three variables are the following:
a=[30,100]
h=[40,160]
b=[200,360]
Thank you for your fast respons.

### Categories

Find more on Scalar Volume Data in Help Center and File Exchange

R2020b

### Community Treasure Hunt

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

Start Hunting!