Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

Topic: 4D plot- 3Dplot with color at surface plane
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
Registered: 12/22/13
4D plot- 3Dplot with color at surface plane
Posted: Dec 22, 2013 9:04 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear expert Matlab programmers,

I am struggling with maybe a simple challenge, but I really need your kind hints.
The data I am dealing with contains location of observatory station x, y and z; and for each station we have value of c, which is the number of observed fish at that location.

I am keen to draw a 4D figure, in which I could show a surface plane, instead of scatter 3D, and define the color of this plan based on the number of observed fish. It would help me to better visualize the interaction between location (x,y,z) and the number of fish, c.

I do know surf(x,y,z,c) may work, and so far I obtained a nice plane that well fitted on my data, but the color of plane is based on z and not c.
How properly I can define c?
I believe c should be same size as z, am I right?

If so, do I need to use extrapolation/extrapolation functions to estimate the c values for the same mesh grid as z?

I thank you very much for your hints.

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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.