This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Statistical Visualization

View data patterns and trends

Explore single-variable distributions using univariate plots such as box plots and histograms. Show the relationships between variables using bivariate plots such as grouped scatterplots and bivariate histograms. Visualize the relationship between multiple variables using multivariate plots such as Andrews and glyph plots. Customize your plot by adding case names, least-squares lines, and reference curves.

Functions

andrewsplotAndrews plot
binScatterPlotScatter plot of bins for tall arrays
biplotBiplot
boxplotBox plot
glineInteractively add line to plot
gnameAdd case names to plot
gplotmatrixMatrix of scatter plots by group
glyphplotGlyph plot
gscatterScatter plot by group
hist3Bivariate histogram plot
lslineAdd least-squares line to scatter plot
parallelcoordsParallel coordinates plot
refcurveAdd reference curve to plot
reflineAdd reference line to plot
scatterhistScatter plot with marginal histograms

Topics

Box Plots

Compare data distributions using median, interquartile range, and percentiles.

Create Scatter Plots Using Grouped Data

Compare data distributions and relationships between groups.

Visualizing Multivariate Data

This example shows how to visualize multivariate data using various statistical plots.