The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Plotting a 4D surface or image
Replies: 1   Last Post: Jan 21, 2013 10:54 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Oliver Woodford

Posts: 615
Registered: 8/3/07
Re: Plotting a 4D surface or image
Posted: Jan 21, 2013 10:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.