shadow_axis¶
- shadow_axis(varargin)¶
SHADOW_AXIS Create an axis with a soft drop-shadow behind it
- Usage:
[axis_handle, shadow_handle] = shadow_axis() [axis_handle, shadow_handle] = shadow_axis(‘Name’, Value, …)
- Name-Value Pairs:
‘position’ : 1x4 double - axis position (default: [0.13 0.11 0.775 0.815]) ‘size’ : double - shadow spread in pixels (default: 10) ‘distance’ : double - offset between axis and shadow in normalized units (default: 0.03) ‘angle’ : double - shadow angle in degrees (default: -45) ‘opacity’ : double in [0,1] - shadow opacity (default: 0.5) ‘resolution’ : double - pixel resolution of the shadow image (default: 500)
- Outputs:
axis_handle : axes handle - the axis for plotting shadow_handle : axes handle - the shadow axis (behind)
Example
[ax, sh] = shadow_axis(‘size’, 15, ‘opacity’, 0.7);
See also: fspecial, imfilter
∿∿∿ Prerau Laboratory MATLAB Codebase · sleepEEG.org ∿∿∿