File Exchange

image thumbnail

Making Surface Plots From Scatter Data

version 1.0.0.1 (92 KB) by

How to turn a collection of XYZ triplets into a surface plot.

4.80645
62 Ratings

190 Downloads

Updated

View License

Editor's Note: This file was a File Exchange Pick of the Week

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.

Comments and Ratings (64)

Min-Ye Zhang

thank you very much!!

Frank Riley

Steve Hageman

Thanks for the tip, works perfectly.

Laura Paez

Abdelmoula

Lifesaver, cheers. For me it really helped getting rid of the "clean it up" section at the bottom

Hjort

Hjort (view profile)

sumana

sumana (view profile)

It does not work for a sphere.

Awesome!!! Thanks!

Thanks

Beth Wilcox

awesome

YANLIN JIN

Thanks!

Liye SUN

Works Well!

Very helpful!

Sarah Olson

So helpful!

E. Cheynet

E. Cheynet (view profile)

Ali Ghayoor

Ramy

Ramy (view profile)

Jang DV

Excellent !

Roman Jamy

Asa Darnell

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!!!!!!!!

Andreas

Andreas (view profile)

Great function, helped a lot for creating lookuptables.

This is exactly what I've been looking for for years. Worked great.

Mahdi

Mahdi (view profile)

Rick van Rijn

DHRUPAL SHAH

saravana

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.

Nick

Nick (view profile)

Matt

Matt (view profile)

just what i needed!!!!

thanks, solved my problem as well

Manel Soria

Thanks !

Matlab2010

Excellent. Well done!

IIT Bombay

extremely useful

Wenwu

Wenwu (view profile)

Saurabh Singh

Awesome!! Can anybody tell if I can draw contour plot on the same?

THIS IS AWESOME
THK YOU VERY MUCH

C. Maguire

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.

Carlos Adrian Vargas Aguilera

This is nice Zain. Why don't you made a function? Ignoring NaNs also.

Thomas Jansson

Just what I was looking for - this should have a seperate function in Matlab or at least be listed in the help files. :)

Laura .

Works great!

Johnny Green

Thanks so much!

Catherine St-P

Thank you!!! It saved me sooo much time! Wow...

jack zuo

good stuff!

Jen Badham

Just what I needed

Xiaolan Wang

Genius idea. Easy and works just perfectly. Thank you very much.

Blake Fleischer

Being new to this program, the tutorial was essential for me. Only problem I had was typing the right commands. Many Thanks!

Oya Mercan

Excellent,Thanks!

NT NT

Nimal L

R P

quite good!

Chris Lim

Any idea on how to make a contour plot with scatter data?

sheela kumar

cool !

Chammika Udalagama

Goncalo Gil

Sweet!!! That did it!

remove [NOSPAM!!!] from email if you would like to contact me.

Eric Benson

Solved my problem!

Robert Riley

Lorenzo Natale

Stefan Burger

Updates

1.0.0.1

Updated license

MATLAB Release
MATLAB 6.5 (R13)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today