Matlab
2D
drawing or plotting functions and tools direct their
output to a window that
is separate from the command window (referred to as a figure). By
default, Matlab
uses line styles
and colors
to distinguish the data
sets plotted in the graph.
You can change the appearance of the graphic components or add
annotations to the graph to explain your data for presentation.
Below
you can find examples of some 2D
drawing functions. Many of them take optional
arguments. These are just some ideas to give you basic understanding or
how to
use these built-in functions and what to expect from them. For more
information, see the online Matlab
help (type ‘help
function’ on your command
window or see the Help menu). Some of these
examples have a full article on those functions.