Plotting a 4-D double with surf

조회 수: 2 (최근 30일)
Philippe Laffont
Philippe Laffont 2018년 9월 28일
답변: Walter Roberson 2018년 9월 29일
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
Image Analyst
Image Analyst 2018년 9월 29일
편집: Image Analyst 2018년 9월 29일
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 2018년 9월 29일
Is this a cuboid regular grid such that t(J, K, L) is at coordinates (X(J), Y(K), Z(L))?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 9월 29일
Looks to me like a case to use slice()

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by