Add transparency to objects in axes
alpha
sets the
face transparency for graphics objects in the current axes that support
transparency. Specify value
value
as a scalar value between
0 (transparent) and 1 (no transparency), 'clear'
,
or 'opaque'
.
alpha
varies
the transparency across all image, patch, chart surface, and primitive
surface objects in the axes. This option sets the corresponding alpha
data properties for the objects.alphadata
alpha
specifies
whether to use flat or interpolated transparency across the faces
of all patch, chart surface, and primitive surface objects in the
axes. This option sets the facealpha
FaceAlpha
property for
the objects.
alpha
controls
the interpretation of the alpha data values for all image, patch,
chart surface, and primitive surface objects in the axes. This option
sets the alphadatamapping
AlphaDataMapping
property for the objects.
alpha(
sets
the face transparency for the objects specified by obj
,___)obj
.
The option, obj
, can precede any of the input arguments
in the previous syntaxes. Use single quotes around input arguments
that are character arrays, for example, alpha(obj,'opaque')
.
alpha(
sets
the face transparency for the graphics objects in the axes specified
by ax
,___)ax
, instead of the current axes. Specify ax
as
the first input argument. You cannot specify both the ax
and obj
inputs.