medianPlot(data, varargin)

Plots data with median, lower and upper quartile as well as the data points.

You are now following this Submission

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

Cite As

Steffen Hacker (2026). medianPlot(data, varargin) (https://in.mathworks.com/matlabcentral/fileexchange/65752-medianplot-data-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

added functionality
added parameters of plot

1.0.0.0