Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Plotting a 4D surface or image
Posted:
Jan 21, 2013 10:54 AM
|
|
"Edward King" wrote: > I have X,Y,Z data arrays with an intensity to match each point. I am trying to form an 3D/4D image; however, the result is not correct. When I plot the point on a scatter3 graph with color it displays properly, but the plot does not connect the data between the points to form a surface. What do I need to do to my X,Y,Z data to put it in the correct form for a surface plot?
You can plot either volumetric or surface data. To plot a surface you need to specify a triangular mesh of vertices and edges using patch. To plot a volume you first need to compute the volume, then render it using something like vol3d on the file exchange.
|
|
|
|