Graphics    

Creating Arrows and Lines in Plot Editing Mode

To add an arrow or line annotation to a graph:

  1. Click on the Insert menu and choose the Arrow or Line option, or click the Arrow or Line buttons in the figure window toolbar.

    MATLAB changes the cursor to a cross-hair style.

  1. Position the cursor in the figure where you want to start the line or arrow and press either mouse button. Hold the button down and move the mouse to define the length and direction of the line or arrow.
  2. Release the mouse button.


 Adding Arrows and Lines to a Graph Editing Arrows and Line Annotations