scatter3sph (Scripts) Publisher's description
from Francisco de Castro
Little function to plot a 3D scatter of semi-transparent spheres (as opposed to dots)
Little function to plot a 3D scatter of semi-transparent spheres (as opposed to dots). Very improvable, specially regarding adding optional parameters for the spheres characteristics: number of facets, transparency, etc. It can represent three quantities as: height (Z), color and size for each combination of two variables (X and Y).
SCATTER3SPH is like scatter3 only drawing spheres with volume, instead of flat circles, at coordinates specified by vectors X, Y, Z. All three vectors have to be of the same length.
SCATTER3SPH(X,Y,Z) draws the spheres with the default size and color.
SCATTER3SPH(X,Y,Z,'size',S) draws the spheres with sizes S. If length(S)= 1 the same size is used for all spheres.
SCATTER3SPH(X,Y,Z,'color',C) draws the spheres with colors specified in a N-by-3 matrix C as RGB values.
System Requirements:MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall