alpha - Set transparency properties for objects in current axes

Syntax

alpha
alpha(face_alpha)
alpha(alpha_data)
alpha(alpha_data)
alpha(alpha_data)
alpha(alpha_data_mapping)
alpha(object_handle,value)

Description

alpha sets one of three transparency properties, depending on what arguments you specify with the call to this function.

FaceAlpha

alpha(face_alpha) sets the FaceAlpha property of all image, patch, and surface objects in the current axes. You can set face_alpha to

See for more information.

AlphaData (Surface Objects)

alpha(alpha_data) sets the AlphaData property of all surface objects in the current axes. You can set alpha_data to

AlphaData (Image Objects)

alpha(alpha_data) sets the AlphaData property of all image objects in the current axes. You can set alpha_data to

FaceVertexAlphaData (Patch Objects)

alpha(alpha_data) sets the FaceVertexAlphaData property of all patch objects in the current axes. You can set alpha_data to

See Mapping Data to Transparency for more information.

AlphaDataMapping

alpha(alpha_data_mapping) sets the AlphaDataMapping property of all image, patch, and surface objects in the current axes. You can set alpha_data_mapping to

alpha(object_handle,value) sets the transparency property only on the object identified by object_handle.

See Also

alim, alphamap

Image: AlphaData, AlphaDataMapping

Patch: FaceAlpha, FaceVertexAlphaData, AlphaDataMapping

Surface: FaceAlpha, AlphaData, AlphaDataMapping

Transparency for related functions

Transparency in 3-D Visualization for examples

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS