About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 6 years ago
  • Total downloads: 126
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Luigi Giaccari (28 other programs)
See full specifications

scripts default iconHOW TO PLOT A COLOURED SURFACE FROM 3D SCATTE (Scripts) Publisher's description

This submission is for Matlab beginners.

This submission is for Matlab beginners.

After I post my tools on surface recostruction I received many e-mails of people asking what is the best way to get a surface from 3D scatter.
Most of them (about 90%), show to me surfaces in the z=f(x,y) form.

File exchange offers many alternative in this case, one of them is John D’Errico’s gridfit that returns very smooth and good looking surfaces.

My tools for surface recostruction are designed for the more general, and of course complicate, case when the surface is not in the z=f(x,y). Unfortunatly they are not reliable as gridfit or the method I am going to show. So in this easier case I would avoid to use my other submissions.

The easiest way to get the surface is to first get a triangulation using only x and y coordinates than using the trisurf command. This is very useful when we have to associate each point a color value.

Differently from grid fitting methods, all points will be part of the surface, all we need to do is to build a colormap (points—>rgb triplet) to get a good looking surface. Matlab rendering tools will doe the rest of the job.

The disavantage is generally it needs more points to have a good representing surface. The surface may also be more sensible to noise and sometimes may look more rough.

See the script and look how easy it is!!

Foor info,questions, suggestions:


System Requirements:

MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall


Click on a tag to find related softwares


Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.