Use histogram() instead of hist() in plotmatrix

Currently, the plotmatrix uses hist on the back end to generate the histogram plots. The hist function, it seems, through forceful binning (into 10 bins) throws off my plots. What works well is histogram(). How can I use histrogram() with plotmatrix instead of hist()?

回答(1 个)

I don't see any input arguments to it that get passed through to histogram() internally. But it does pass back the histogram object and the axes handles so maybe you can use those to modify the bar charts yourself, manually.

类别

在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息

产品

提问:

AGS
2016-2-18

Community Treasure Hunt

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

Start Hunting!

Translated by