Overview of MATLAB Plotting
MATLAB provides a wide variety of techniques to display data graphically.
Interactive tools enable you to manipulate graphs to achieve results that reveal
the most information about your data. You can also annotate and print graphs
for presentations, or export graphs to standard graphics formats for
presentation in web browsers or other media.
For More Information “Graphics” and “3-D Visualization” in the MATLAB
documentation provide in-depth coverage of MATLAB graphics and
visualization tools. Access these topics from the Help browser.
The Plotting Process
The process of visualizing data typically involves a series of operations. This
section provides a “big picture” view of the plotting process and contains links
to sections that have examples and specific details about performing each
operation.
Creating a Graph
The type of graph you choose to create depends on the nature of your data and
what you want to reveal about the data. MATLAB predefines many graph
types, such as line, bar, histogram, and pie graphs. There are also 3-D graphs,
such as surfaces, slice planes, and streamlines.
There are two basic ways to create graphs in MATLAB:
•Use plotting tools to create graphs interactively.
See “Examples — Using MATLAB Plotting Tools” on page 5-20.
•Use the command interface to enter commands in the Command Window or
create plotting