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.

Antworten (1)

darova
darova am 26 Feb. 2021

0 Stimmen

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

Kategorien

Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange

Beantwortet:

am 26 Feb. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by