3D Cartesian Contour Plot with 1 dimensional XYZC points
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
darova
on 26 Feb 2021
Try griddata or scatteredInterpolant to generate 3D matrices
Use isosurface to visualize specific C color value
0 Comments
See Also
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!