Section: Handle-Based Graphics
hrawplot(filename,commands)
where filename is the name of the file to plot to,
and commands is a cell array of strings. Each entry in the
cell array contains a string with a command text. The
commands describe a simple mini-language for describing
plots. The complete dictionary of commands is given
LINE x1 y1 x2 y2 -- draw a line
FONT name size -- select a font of the given name and size
TEXT x1 y1 string -- draw the given text string at the given location
STYLE style -- select line style ('solid' or 'dotted')
PAGE -- force a new page
SIZE x1 y1 -- Set the page mapping
BOX x1 y1 x2 y2 -- draw a filled box covering the given coordinates
HTEXTBOX x1 y1 x2 y2 string -- Draw a horizontal box with the given string centered in it
VTEXTBOX x1 y1 x2 y2 string -- Draw a vertical box with the given string centered in it (rotated 90 degrees)
BRUSH string -- Set the brush color ('red','blue', etc)
PEN string -- Set the pen color