How to fill a volume plot of a vector valued functions (with 3 variables)

2 views (last 30 days)
Again, I'm ascending new ground, now dealing with volume plots. I'm aware of Matlabs documentary concering this topic. But it doesn't seem to cover my problem. It's about plotting:
To the best of my knowldege this function will map a cuboid to . So it should be representable without reducing any dimension. I feel like inconvenient doing this in Matlab, since there doesn't seem to exist some nice functions like mesh or surf for volumes, so I just can't
[u,v,w] = meshgrid(-1:0.1:1);
x = u.^2+u;
y = v.^2+v;
z = z.^2+z;
mesh(x,y,z) %... just defined for surfaces.
Nevertheless Is there some equivalence for volumes?
Niklas Kurz
Niklas Kurz on 8 Jun 2021
Edited: Niklas Kurz on 8 Jun 2021
Isn't slice made for plotting scalar functions of 4th dimension? I haven't been using isosurface yet, but its plots look like 2-dimensional manifolds. For my purpose you must think about a filled cube, that is being deformed in by the function φ. At least that's how I think about it. Briefly speaking I search for a function like mesh that maps a plane of points in and inderpolates the distance between the resulting mapping. Just for Volumes.

Sign in to comment.

Answers (1)

Matt J
Matt J on 7 Jun 2021
Niklas Kurz
Niklas Kurz on 9 Jun 2021
Edited: Niklas Kurz on 9 Jun 2021
probably matlab lecks the ability of doing that, because I haven't seen fully 3D filled objects being plotted yet. Just the outline. So maybe I've to finde a parametrization of the outer surface. What's kinda odd.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!