Plotting a 4-D double with surf

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 Kommentare

Walter Roberson
Walter Roberson am 29 Sep. 2018
Is this a hyper cuboid regular grid such that D(J, K, L, M) is at (X(J), Y(K), Z(L), t(M))?
Is it 3 spatial dimensions plus one result dimension t? Or is it four spatial dimensions plus one result dimension whose name you did not happen to mention? For example temperature over X, Y, Z, time?
Philippe Laffont
Philippe Laffont am 29 Sep. 2018
Sorry for the confusion. I'm referring to 3 spatial coordinates with one result dimension.
Image Analyst
Image Analyst am 29 Sep. 2018
Bearbeitet: Image Analyst am 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 am 29 Sep. 2018
Is this a cuboid regular grid such that t(J, K, L) is at coordinates (X(J), Y(K), Z(L))?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 29 Sep. 2018

0 Stimmen

Looks to me like a case to use slice()

Gefragt:

am 28 Sep. 2018

Beantwortet:

am 29 Sep. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by