
Overview of MATLAB Plotting
See “Some Ways to Use MATLAB Plotting Tools” on page 3-23.
• Use the command interface to enter commands in the Comm and Window
or create plotting programs.
See “Using Basic Plotting Functions” on page 3-49.
You might find it useful to combine both approaches. For example, y ou might
issue a plotting command to create a graph and then modify the graph using
one of t h e interactive t oo ls.
Exploring Data
Once you create a graph, you can extract specific information about the data,
such as the num eric value o f a peak in a plot, the average value of a series of
data, or you can perform data fitting.
For More Information See “Data Exploration Tools” in the MATLAB
Graphics documentation and “Opening the Basic Fitting GUI” in the MATLAB
Data Analysis documentation.
Editing the Graph Components
Graphs are composed of objects, which have properties you can change. These
properties affect the way the various graph components look and behave.
For example, the axes used to define the coordinate system of the graph has
properties that define thelimitsofeachaxis,thescale,color,etc. Theline
used to create a line graph has properties such as color, type of marker used
at each data point (if any), line style, etc.
Note that the data used to create a line graph are properties of the line. You
can, therefore, change the data without actually creating a new graph.
See “Editing Plots” on page 3-17.
Annotating Graphs
Annotations are the text, arrows, callouts, and other labels added to graphs
to help viewers see what is important about the data. You typically add
3-3
Komentáře k této Příručce