【源码】可使用各种显示选项绘制方框的箱线图
该函数已经集成到IoSR Matlab Toolbox中的iosr.statistics.boxPlot。
该函数的可选项包括:
-
可变样本大小(通过tab2box()函数设置)。Variable sample sizes (via the tab2box() function).
-
显示方框样本的大小。Show box sample size.
-
按比例缩放或均匀的框间距。Scaled or uniform box spacing.
-
盒宽度按样本大小缩放。Box width scaled by sample size.
-
覆盖基础数据的散点图。Overlay scatter plots of underlying data.
-
覆盖数据的平均值。Overlay the mean of the data.
-
覆盖额外的百分位数,并在其上附加标签。Overlay additional percentiles, and attach labels to them.
-
分层X标记和多维数据支持。Hierarchical X-labeling and support for multidimensional data.
-
带缺口的盒子。Notched boxes.
-
利用垂直线分隔不同的组。Vertical lines to separate groups.
-
自动构建图例。Automated construction of a legend.
-
将方框限制设置为百分位数。Set box limits as percentiles.
-
可通过各种方法设置whisker的大小。Set whisker extent via various methods.
-
可使用加权分位数。Use of weighted quantiles.
-
可创建小提琴图。Creation of violin plots.
源码下载地址:
http://page2.dfpan.com/fs/eldcej3202e1f299169/
更多精彩文章请关注微信号: