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.