Plotting a 4-D double with surf

2 views (last 30 days)
Philippe Laffont
Philippe Laffont on 28 Sep 2018
Answered: Walter Roberson on 29 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 Comments
Image Analyst
Image Analyst on 29 Sep 2018
Edited: Image Analyst on 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 on 29 Sep 2018
Is this a cuboid regular grid such that t(J, K, L) is at coordinates (X(J), Y(K), Z(L))?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 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!