Graphics |
Adding Arrows and Lines to Graphs
With plot editing mode enabled, you can add arrows and lines anywhere in a figure window.
You can also use arrow characters (TeX characters) to create arrows using the text
command. However, arrows created this way can only point to the left or right, horizontally. See Calculating the Positions of Text Annotations for an example.
Creating Arrows and Lines in Plot Editing Mode
To add an arrow or line annotation to a graph,
Note After you add an arrow or line, plot edit mode is enabled in the figure, if it was not already enabled. |
Editing Arrows and Line Annotations
You can edit the appearance of arrow and line annotations using the context menu.
With plot editing mode enabled, right-click on the arrow or line annotation to display its context menu.
For more options, select Properties to display the Property Editor.
Drawing Text in a Box | Basic Plotting Commands |
© 1994-2005 The MathWorks, Inc.