Effacer les filtres
Effacer les filtres

How can I plot XYZ-Color surface?

7 vues (au cours des 30 derniers jours)
Nayoung Kim
Nayoung Kim le 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 commentaires
Alexandra Harkai
Alexandra Harkai le 20 Oct 2016
Would you expect the whole 3d domain to be coloured in?
Massimo Zanetti
Massimo Zanetti le 20 Oct 2016
Modifié(e) : Massimo Zanetti le 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)

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 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

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by