boxplot
Box-and-whisker plot.
Syntax
Section titled “Syntax”boxplot(x)boxplot(x, g, ...)Description
Section titled “Description”Renders a box-and-whisker plot of x. The box shows the inter-quartile range (Q1 to Q3) with a line at the median; whiskers extend to non-outlier extremes; outliers are shown as individual points. With grouping vector g, draws one box per group.
Examples
Section titled “Examples”boxplot(randn(100, 4)) % 4 boxesboxplot(measurements, group_labels)See also
Section titled “See also”violinplot— Violin plot — box plot with a kernel-density-estimate envelope.histogram— Histogram of data.