Plot a 'grouped' univariate histogram

版本 1.0.0.0 (18.3 KB) 作者: Dimitri Shvorob
(Subsample histograms, stacked)
3.3K 次下载
更新时间 2016/4/4

查看许可证

Function HISTG ('grouped histogram') adapts Matlab's HIST to cases where data vector includes values from several observed groups, and lets one color-code group membership on the overall histogram. Separate histograms are constructed for all x-groups (each identified by a distinct finite value of a class-assignment variable c), and vertically stacked. HISTG offers display options (x-percentile cut-offs, absolute axis limits, bin size, marker line) implemented in HISTF, linked to below. (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 (2024). Plot a 'grouped' univariate histogram (https://www.mathworks.com/matlabcentral/fileexchange/14598-plot-a-grouped-univariate-histogram), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Histograms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

histg/

histg/html/

版本 已发布 发行说明
1.0.0.0

BSD
cosmetic revision