MATLAB Function Reference |
Set or query the axes alpha limits
Syntax
alpha_limits = alim alim([amin amax]) alim_mode = alim('mode') alim('alim_mode') alim(axes_handle,...)
Description
alpha_limits = alim
returns the alpha limits (the axes ALim
property) of the current axes.
alim([amin amax])
sets the alpha limits to the specified values. amin
is the value of the data mapped to the first alpha value in the alphamap, and amax
is the value of the data mapped to the last alpha value in the alphamap. Data values in between are linearly interpolated across the alphamap, while data values outside are clamped to either the first or last alphamap value, whichever is closest.
alim_mode = alim('mode')
returns the alpha limits mode (the axes ALimMode
property) of the current axes.
alim('alim_mode')
sets the alpha limits mode on the current axes. alim_mode
can be
manual
-- MATLAB does not change the alpha limits.
alim(axes_handle,...)
operates on the specified axes.
See Also
Axes ALim
and ALimMode
properties
Patch FaceVertexAlphaData
property
Image and surface AlphaData
properties
Transparency for related functions
Transparency in 3-D Visualization for examples
airy | all |
© 1994-2005 The MathWorks, Inc.