drawFadingLine
Version 1.0.0 (1.28 KB) by
YICHENG XU
draw a fading line given data x, y, and the windowSize
draw a fading line given data x, y, and the windowSize
option input can be:
inputF: add the fading line to a given figure inputF
colorRange: first row is the starting color, second row is the ending color
example:
inF=figure;
x=1:100;
y=sin(x);
windowSize=20;
f = drawFadingLine(x,y,windowSize,inputF=inF,colorRange=[1,1,1;0,0,0])
Cite As
YICHENG XU (2025). drawFadingLine (https://se.mathworks.com/matlabcentral/fileexchange/168181-drawfadingline), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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 |
