Main Content

2-D and 3-D Plots

Plot continuous, discrete, surface, and volume data

Use plots to visualize data. For example, you can compare sets of data, track changes in data over time, or show data distribution. Create plots programmatically using graphics functions or interactively using the Plots tab at the top of the MATLAB® desktop.

For illustrations of some of the types of plots you can create programmatically, see Types of MATLAB Plots.

Sampling of five different types of plots: line plot, bar chart, surface plot, bubble chart, and contour plot