How do I create a 3D response surface plot(Contour Plot) from X Y Z C points ?

Hi All,
I am new to matlab and struggling a lot in creating a contour plot/surface plot with the dataset I have. I worked for a month and still no good results.
My dataset is a XYZC columns and has nearly 3 million rows.
X Y Z C
0.666666667 0.00E+00 41.41300016 0.00E+00
2 0.00E+00 41.41300016 0.00E+00
0.666666667 0.00E+00 40.40292699 1.33E-04
2 0.00E+00 40.40292699 1.33E-04
0.666666667 0.00E+00 39.39285381 1.91E-04
2 0.00E+00 39.39285381 1.91E-04
0.666666667 0.00E+00 38.38278064 2.39E-04
2 0.00E+00 38.38278064 2.39E-04
0.666666667 0.00E+00 37.37270746 2.81E-04
2 0.00E+00 37.37270746 2.81E-04
I want to plot a 3D interactive visualization which looks similar to the image attached.
If my question is not clear, i can explain in detail.
Please help me in this.
THank in advance

5 comentarios

What generated the image and what does it represent?
The image is from techplot.
The image represent the aperture of a frature network. Something related to petroleum.
"The image is from techplot [sic]."
Why am I not surprised? TecPlot has a zillion features very difficult to emulate in MATLAB being as it was written by and specifically for FE analysis.
I was hoping maybe having an idea of what were looking at might stir the pot a little on how to try to simulate something...unfortunately, nothing comes to mind at the moment.
I'd guess if you want somebody to really explore any to attach enough data in a .mat file to be able to reproduce a portion of the grid above; just the tiny snippet probably isn't enough to have to get a handle on with.
Yes Agree on your point regarding techplot.
I hope with the help of matlab expects, We can figure out to do a similar plot(not exactly) in matlab.
I have attached the datafile in the description.
Thanks
Please let me know if anything idea on how to proceed strikes on your mind. :)

Iniciar sesión para comentar.

Respuestas (1)

That plot looks like it would be reproducible with scatter3. So have a look at the help and documentation of that function. One thing that mightbe helpful is to sort the data-points such that the most significant are first (that helped me, at least in earlier versions)
HTH

2 comentarios

THanks for your suggestions. The plot is not a scatter plot. I have tried working on scatter3 which does not yield the same result.
Well, then (to me) it seems like a number of pseudo-coloured stripes, that are long in the vertical direction and narrow in the x-(?)direction. Each such band/ribbon could be produced with surf. Then it would just be a question of how to group your data into such ribbons, and loop accordingly? (definitely try: shading flat to avoid the grid-lines hiding your data.) This might take "a bit of time" to plot if you have very many bands.

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Feb. de 2021

Comentada:

el 9 de Feb. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by