Surface: Transparency
Vertex Transparency Data
- Alpha data - A matrix of non-NaN values specifying the transparency of each face or vertex of the object. Can be of class
double
or unit8
. (AlphaData
)
- Data mapping - Determines how MATLAB interprets indexed alpha data. (
AlphaDataMapping
)
- (None) exact 0-1 transparency values. Any values not in this range are clamped to 0-1.
- (Direct) index into the figure alphamap - MATLAB maps values less than 1 to the first alpha value in the alphamap, and values greater than
length(alphamap)
to the last alpha value in the alphamap. Values with a decimal portion are fixed to the nearest, lower integer.
- (Scaled) linearly to the figure alphamap - Transform the alpha data to span the portion of the alphamap indicated by the
ALim
property, linearly mapping data values to alpha values.
See Mapping Data to Transparency for more information on alpha data mapping.