How do you turn a collection of XYZ triplets into a surface plot? This is the most frequently asked 3D plotting question that I got when I was in Tech Support. This submission explains how.
Only works well if the layered Z planes do not have very close x,y corrodinates. Mine have, the results make triangles that connects to z far away, just because it is close in xy.
not possible to smooth it ?
Perfect! This should be part of the software!
Excellent post. Is there a similar function, or set of steps to calculate gradients on scatter data from X, Y, Z triplets?
thanks a lot
thank you very much!!
Thanks for the tip, works perfectly.
Lifesaver, cheers. For me it really helped getting rid of the "clean it up" section at the bottom
It does not work for a sphere.
A+. I'm using this to visualize data from a Photogrammetry software that outputs 'random' data points instead of points on a standard grid and it works perfectly! Thanks!!!!!!!!
Great function, helped a lot for creating lookuptables.
This is exactly what I've been looking for for years. Worked great.
very helpful thanks a lot
But this doesn't work when a surface is curved like a ball. You triangulate these projections of the vertices on x-y plane, but some obtained triangles are not the projections of the real triangles on the surface.
just what i needed!!!!
thanks, solved my problem as well
Excellent. Well done!
Awesome!! Can anybody tell if I can draw contour plot on the same?
THIS IS AWESOME
THK YOU VERY MUCH
Using "delaunay" is what "griddata" does. It's only okay for 2D data, but very slow for 3D data (z will be an individual dimension, instead of a value of f(x,y) in 3D data situation). Because of this reason, "griddata3" is good but too slow.
This is nice Zain. Why don't you made a function? Ignoring NaNs also.
Just what I was looking for - this should have a seperate function in Matlab or at least be listed in the help files. :)
Thanks so much!
Thank you!!! It saved me sooo much time! Wow...
Just what I needed
Genius idea. Easy and works just perfectly. Thank you very much.
Being new to this program, the tutorial was essential for me. Only problem I had was typing the right commands. Many Thanks!
Any idea on how to make a contour plot with scatter data?
Sweet!!! That did it!
remove [NOSPAM!!!] from email if you would like to contact me.
Solved my problem!