Plotting a 4-D double with surf

2 vues (au cours des 30 derniers jours)
Philippe Laffont
Philippe Laffont le 28 Sep 2018
Hello,
I'm currently trying to plot a 4-D object with a surf() function. Specifically, generating three plots by plotting each plane separately. I.E plotting XY,XZ,YZ in an XYZt object. What would the syntax look like for this?
Thanks!
  4 commentaires
Image Analyst
Image Analyst le 29 Sep 2018
Modifié(e) : Image Analyst le 29 Sep 2018
So is it a volumetric image, like the temperature or pressure at every single cubic millimeter in a room, or the density of tissue in a CT or MRI image? Or do you have t values only at one z height for every (x,y) location, like you have the surface of the earth and have a temperature and height (z location) for every (x,y) location on the surface of the earth?
Walter Roberson
Walter Roberson le 29 Sep 2018
Is this a cuboid regular grid such that t(J, K, L) is at coordinates (X(J), Y(K), Z(L))?

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 29 Sep 2018
Looks to me like a case to use slice()

Community Treasure Hunt

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

Start Hunting!

Translated by