I have an array of floating point values ranging from 0.0 to 70000.0 and I want to visualize this data in a 3D surface. I want something like this:
I have no idea how to do this. I don't even know what this type of graph is actually called. Should I use Matlab? I haven't used Matlab before but I have access to a machine which has Matlab installed on it...
Tools like matlab or Octave can produce a very similar plot.
The figure you provide displays the matrix as a height-map. For a matrix M
with elements M[i][j]
, the 3D surface you want is simply:
x = i
y = j
z = M[i][j]
The surface is visualized with a rendering algorithm like ray marching or rasterizing a mesh overlaid with the height map.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.