File Exchange

image thumbnail

Plot a univariate histogram

version 1.0.0.0 (12.7 KB) by Dimitri Shvorob
(a little easier than with HIST)

1 Download

Updated 04 Apr 2016

View License

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 (2020). Plot a univariate histogram (https://www.mathworks.com/matlabcentral/fileexchange/14597-plot-a-univariate-histogram), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Qiong Wu

relative frequencies using hist

Updates

1.0.0.0

BSD

1.0.0.0

cosmetic revision

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Bootstrap a statistic

histf/

histf/html/