percentilePlot: Plot Any Percentile for Time Series Data

Version 1.0.0.0 (2.64 KB) by Kirk
Plot specific percentile for any 2d or 1d data set.
586 Downloads
Updated 6 Dec 2013

View License

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 .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Distribution Plots in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0