3D function plotting
显示 更早的评论
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.
采纳的回答
更多回答(3 个)
KSSV
2016-10-14
0 个投票
Check this file exchange to plot a cube. https://in.mathworks.com/matlabcentral/fileexchange/15161-plotcube
Steven Lord
2016-10-14
0 个投票
See the volume visualization section of the documentation for various tools and techniques you can use to visualize that type of data.
Image Analyst
2016-10-14
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!