histn.m
This function generates an overlapping histogram of multiple populations. For a demo simply type "histn".
SYNTAX: h=histn(Y,X,S)
Y - Data array that is NxM where N is the number of groups and M is the number of measures within each group. Right now M has to be the same for each group.
X - Optional input that specifies the bin centers as a vector. If N is a scalar then it specifies the NUMBER of bins
S - Optional flag that turns on(1) or off(0) the display of the population mean and standard deviation. Default is 0.
DBE 2005/03/10
To Do:
1) Improve handling for input of different sized groups
2) Improve "intelligence" of tick label format...based upon range of input data
Zitieren als
Daniel Ennis (2025). histn.m (https://www.mathworks.com/matlabcentral/fileexchange/8053-histn-m), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots > Histograms >
- MATLAB > Graphics > Graphics Objects > Object Containers >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |