View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Plot a univariate histogram

3.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 12.7 KB File ID: #14597 Version: 1.0
image thumbnail

Plot a univariate histogram



10 Apr 2007 (Updated )

(a little easier than with HIST)

| Watch this File

File Information

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).


This file inspired Bootstrap A Statistic.

Required Products Statistics and Machine Learning Toolbox
MATLAB release MATLAB 7.2 (R2006a)
MATLAB Search Path
Other requirements HISTF invokes PRCTILE of Statistics Toolbox, which can be replaced with a user-contributed function.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
06 Jul 2013 Qiong Wu

relative frequencies using hist

04 Apr 2016 1.0


Contact us