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


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Graphical Primitives

plot::Bars2d2D bar chart
plot::Bars3d3D bar chart of matrix data
plot::BoxplotStatistical box plots
plot::DensityDensity plot
plot::Histogram2dHistogram plots of data
plot::Piechart2d2D pie charts
plot::Piechart3d3D pie charts
plot::QQplotStatistical quantile-quantile plots
plot::SurfaceSTLImport of STL graphics files

MuPAD Graphical Attributes

AreaArea of a histogram plot
AveragedMode for computing quantile lines in box plots
CellsClasses of histogram plots
CellsClosed, ClassesClosedInterpretation of the classes in histogram plots
DataThe (statistical) data to plot
DensityData, DensityFunctionDensity values for a density plot
GroundBase value
Heights, MovesHeights of pieces in pie charts
SizeSize of a point list


Create Scatter and List Plots

Scatter plots can help you identify the relationship between two data samples.

Create Bar Charts, Histograms, and Pie Charts

Bar charts, histograms, and pie charts help you compare different data samples, categorize data, and see the distribution of data values across a sample.

Create Box Plots

Box plots reduce data samples to a number of descriptive parameters.

Create Quantile-Quantile Plots

Quantile-quantile plots help you determine whether two samples come from the same distribution family.