drawFadingLine

draw a fading line given data x, y, and the windowSize

You are now following this Submission

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 (2026). drawFadingLine (https://in.mathworks.com/matlabcentral/fileexchange/168181-drawfadingline), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0