linealpha(x,y,varargin)
linealpha allows you to draw a line with transparency alpha taking
advantage of patch object.
h = linealpha(x,y)
h = linealpha(x,y,edgecolor)
h = linealpha(x,y,edgecolor,edgealpha)
h = linealpha(___,'patchparams',{Param1,Value1,...});
INPUT ARGUMENTS
x,y Vectors of the same length or arrays of the same size.
If they are arrays, each column represents one sample of data.
edgecolor EdgeColor property of the patch object.
edgealpha EdgeAloha property of the patch object.
OPTIONAL PARAMETER/VALUE PAIRS
'patchparams' You can set parameter/value pairs for the patch object by
the syntax
h = linealpha(___,'patchparams',{Param1,Value1,...});
OUTPUT ARGUMENTS
h Handle of the patch object
Based on Brett Shoelson's patchline.m
http://www.mathworks.com/matlabcentral/fileexchange/36953-patchline/content/patchline.m
See also
K_shadedErrorBar, patch
Written by
Kouchi C. Nakamura, Ph.D.
Kyoto University
28-12-2015
Cite As
Kouichi Nakamura (2024). linealpha(x,y,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/55586-linealpha-x-y-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Patchline
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | remove email |