percentilePlot: Plot Any Percentile for Time Series Data
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.0 |