3-D scatter plot
scatter3(
draws
each circle with the color specified by X
,Y
,Z
,S
,C
)C
.
If C
is a RGB triplet or character vector or string containing a color
name, then all circles are plotted with the specified color.
If C
is a three column matrix with
the number of rows in C
equal to the length of X
, Y
,
and Z
, then each row of C
specifies
an RGB color value for the corresponding circle.
If C
is a vector with length equal
to the length of X
, Y
, and Z
,
then the values in C
are linearly mapped to the
colors in the current colormap.
scatter3(___,
fills
in the circles, using any of the input argument combinations in the
previous syntaxes.'filled'
)
scatter3(___,
specifies
the marker type.markertype
)
scatter3(___,
modifies
the scatter chart using one or more name-value pair arguments. Name,Value
)