How can I plot XYZ-Color surface?
3 views (last 30 days)
Show older comments
Nayoung Kim
on 20 Oct 2016
Answered: Image Analyst
on 20 Oct 2016
I want to plot a function with 3 variables : f(X,Y,Z) And, the value of function will be represented as color. But, how can I plot this function? What matlab code or function I have to use?
2 Comments
Massimo Zanetti
on 20 Oct 2016
Edited: Massimo Zanetti
on 20 Oct 2016
The graph of a scalar function of 3 variables lives in 4D space. One way to visualize it can be using volumetric plots (representing 4th dimension as color intensity)
Accepted Answer
Image Analyst
on 20 Oct 2016
This is ambiguous. Are X, Y, and Z the CIE color space images (see this link, or are they spatial cartesian coordinates? It makes a big difference.
Perhaps you'd like to see this, by Sean de Wolski at the Mathworks: http://www.mathworks.com/matlabcentral/fileexchange/29485-meshcanopy
0 Comments
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!