Skip to content

boxchart

plot · scripts/plot/draw/boxchart.m

BOXCHART  Box chart (box plot) — MATLAB R2021b+ compat (nexus#1974).

  H = BOXCHART (YDATA)
  H = BOXCHART (XGROUPDATA, YDATA)
  H = BOXCHART (..., Name, Value)
  H = BOXCHART (AX, ...)

  Name-Value: GroupByColor, Notch ('off'|'on'), Orientation
  ('vertical'|'horizontal'), BoxFaceColor.

  Returns a struct vector mimicking matlab.graphics.chart.primitive.BoxChart
  fields (YData, XData, Notch, Orientation, BoxFaceColor, NumPoints,
  Children, Type).  Full HG BoxChart class deferred.

  Reference: MATLAB R2026a toolbox/matlab/graphics/statistics/boxchart.m
  and resources/MATLAB/en/graphics/boxchart.xml error messages.