3D Cartesian Contour Plot with 1 dimensional XYZC points

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.

답변 (1개)

darova
darova 2021년 2월 26일

0 개 추천

Try griddata or scatteredInterpolant to generate 3D matrices
Use isosurface to visualize specific C color value

카테고리

도움말 센터File Exchange에서 Contour Plots에 대해 자세히 알아보기

질문:

2021년 2월 25일

답변:

2021년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by