medianPlot(data, varargin)
Plots data with median, lower and upper quartile as well as the data points.
'faceColor' -> Color of the boxes. Standard: [0.4 0.4 0.4]
'medianColor' -> Color of median line. Standard: [0 0 0]
'icrColor' -> Color of the inter quartile range lines. Standard: [0 0 0]
'dataPointsColor' -> Color of data points. Standard: [0.5 0.5 0.5]
'showBox' -> Determines if boxes are drawn. Standard: 'true'
'label' -> Label of x-axis. Standard: '1', '2', ...
EXAMPLE
data = rand(10,4);
medianPlot(data, 'faceColor', [0 0.4 0.4], 'icrColor', [1 0 0], 'showBox', true, 'label', {'tea', 'beer', 'wine', 'coke'})
latest update: 23.01.2018
引用格式
Steffen Hacker (2024). medianPlot(data, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/65752-medianplot-data-varargin), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!