3D function plotting

5 visualizzazioni (ultimi 30 giorni)
Albert Jimenez
Albert Jimenez il 14 Ott 2016
Risposto: Albert Jimenez il 25 Nov 2016
I have a cub of side 10 discretized with space step 0.05 and a 3D function f taking values in that cube. Particularly, the element (i,j,k) of the matrix M gives the value of f in that point. For instance, M(i,j,k) = f(i*0.05, j*0.05, k*0.05).
How could I plot f function in the cube? I expect the value of f in the region (0,10)x(0,10)x(0,10).
Thanks. If something is missing, I will try to make it clear asap.

Risposta accettata

Albert Jimenez
Albert Jimenez il 25 Nov 2016
I have found the solution. I use a program called Paraview.
Thanks

Più risposte (3)

KSSV
KSSV il 14 Ott 2016
  1 Commento
Albert Jimenez
Albert Jimenez il 14 Ott 2016
I think that is not exactly what I want. The file you are suggesting just plot a cube. I want to plot f function.
Thanks

Accedi per commentare.


Steven Lord
Steven Lord il 14 Ott 2016
See the volume visualization section of the documentation for various tools and techniques you can use to visualize that type of data.

Image Analyst
Image Analyst il 14 Ott 2016
MATLAB does not have good volume visualization capabilities. It's pretty much limited to primitive operations like isosurfaces and cut-away views. If you want true volume visualization, you'll have to use a program like Avizo

Community Treasure Hunt

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

Start Hunting!

Translated by