4D plot with contour

조회 수: 6 (최근 30일)
Yasser
Yasser 2013년 3월 29일
Hello,
I want to plot the following data:
A: with a size of <7*4>
B: with a size of <7*4>
C: with a size of <7*4>
the XY plane should have a 2D contour including the above 3 matrices. then,
Z: with size of <1*100> will represent the Z-axis
D: with a size of <10*length(Z)> will represent the volumetric data in the volume XYZ
Note the number 10 in the D Matrix represents 10 arbitrary points in inside the contour on XY plane
can you please help me to plot that
Kind Regards
Yasser
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 3월 29일
Please clarify:
For each Z, you have 10 values. Are those 10 values comprised of 5 X-Y pairs? So there is a point at (D(1,K), D(2,K), Z(1)) and another at (D(3,K), D(4,K), Z(1)) and so on ? If so then what size should the point be, what color, or what volume should it occupy?
Or you have a 10-dimensional volume at each Z location?

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

답변 (2개)

Sean de Wolski
Sean de Wolski 2013년 3월 29일
It sounds like you want to use a slice() or isosurface()
Personally, I recommend this for making that easier:

Yasser
Yasser 2013년 4월 3일
Walter it should be like that:
at each Z axis position i should have 10 points of D
the first group of the 10 points (at Z = 0) should be located inside the contour generated from A, B and C.
Sean your Idea can be nice for me ... i will try it and come back to you
thanks
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 4월 3일
편집: Walter Roberson 2013년 4월 3일
10 points within the given contour is not enough information to determine where those 10 points should be. The three contours either have no overlapping areas (in which case there can be no points at all, not 10), or the three can touch only at a single point (in which case there is exactly 1 point, not 10), or the three can overlap for an area (in which case there is an infinity of points within the area, and 10 scalars is not enough information to tell you which of those infinite points you want.)
Have you considered providing us with a sample plot? Especially one that shows how the 10 "D" values map into the two-dimensional space of the intersection of the three contours?

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

카테고리

Help CenterFile Exchange에서 Scalar Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by