You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). linealpha(x,y,varargin) (https://uk.mathworks.com/matlabcentral/fileexchange/55586-linealpha-x-y-varargin), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Patchline
General Information
- Version 1.0.0.0 (2.43 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | remove email |
