Function HISTF ('flexible histogram') extends Matlab's HIST by letting one bound displayed percentiles, set x-axis limits and y-axis maximum, set x bin size, and draw a marker line at given x position. In contrast to HIST, relative rather than absolute frequencies are displayed. (Note: when range of x is limited with [pmin, pmax], no adjustment for truncation is made. The cut-offs are meant to exclude 'extreme', low-mass values).
Dimitri Shvorob (2020). Plot a univariate histogram (https://www.mathworks.com/matlabcentral/fileexchange/14597-plot-a-univariate-histogram), MATLAB Central File Exchange. Retrieved .
Inspired: Bootstrap a statistic