3D Cartesian Contour Plot with 1 dimensional XYZC points
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I am new to matblab and working on 3D contour plot. My dataset has 1 dimensional XYZC points, where XY is cordinates Z is the height and C is the color.
The dataset looks like this:
X Y Z W
x1 y1 z1 w1
x1 y1 z2 w2
x2 y1 z1 w3
x2 y1 z2 w4
:
:
x1 y2 z1 w1
x1 y2 z2 w2
x2 y2 z1 w3
x2 y2 z2 w4
:
:
The entire datafile i have attached for reference Zone1Data.csv.
I have attached the plot aslo for reference of how my plot should look like .
I have tried contour function, but it requires a 2D Z values, i tired interpolation but the outcome is not same as what i want.
It would be great if someone provide thier valuable input of how to achieve this.
Thanks in advance.
댓글 수: 0
답변 (1개)
darova
2021년 2월 26일
Try griddata or scatteredInterpolant to generate 3D matrices
Use isosurface to visualize specific C color value
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!