draw
Draw a shape on the active chart.
Syntax
Section titled “Syntax”draw(type, ...)Description
Section titled “Description”Adds a shape (rectangle, ellipse, arrow, line, polygon, text, etc.) to the active chart. type is a string naming the shape kind. Trailing name-value pairs set position, size, color, and other shape properties.
MathJet-specific (see Reference > Visualization > Annotation).
Examples
Section titled “Examples”draw('rectangle', 'Position', [0 0 1 1])draw('arrow', 'Start', [0 0], 'End', [1 1])