3D Cartesian Contour Plot with 1 dimensional XYZC points

1 visualización (últimos 30 días)
Rajashekar Veerabhadra
Rajashekar Veerabhadra el 25 de Feb. de 2021
Respondida: darova el 26 de Feb. de 2021
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.

Respuestas (1)

darova
darova el 26 de Feb. de 2021
Try griddata or scatteredInterpolant to generate 3D matrices
Use isosurface to visualize specific C color value

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by