percentilePlot: Plot Any Percentile for Time Series Data

Plot specific percentile for any 2d or 1d data set.

You are now following this Submission

Plot specific percentile for any 2d or 1d data set. The plotted percentiles color scheme follows that found in colorSpectrum. Color goes from red to green to blue. The percentiles from largest to smallest follow this color transition.

Example - To make figure in screenshot
f = @(x,y) y.*sin(2.*pi.*x);
X = linspace(0,1,1000);
Y = linspace(1,5,100);
X = kron(ones(100,1),X);
Y = kron(ones(1,1000),Y');
Data = f(X,Y);
percentilePlot(Data);

Two Easy Directions:
Generate data set: Data
Plot percentiles: percentilePlot(Data,Percentiles)

Cite As

Kirk (2026). percentilePlot: Plot Any Percentile for Time Series Data (https://www.mathworks.com/matlabcentral/fileexchange/44615-percentileplot-plot-any-percentile-for-time-series-data), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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