Plot a univariate histogram
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).
Cite As
Dimitri Shvorob (2026). Plot a univariate histogram (https://www.mathworks.com/matlabcentral/fileexchange/14597-plot-a-univariate-histogram), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Bootstrap a statistic
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
histf/
histf/html/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | BSD
|
