Skip to Main Content Skip to Search
Product Documentation

plotedit - Interactively edit and annotate plots

Syntax

plotedit on
plotedit off
plotedit
plotedit(h)
plotedit('state')
plotedit(h,'state')

Description

plotedit on starts plot edit mode for the current figure, allowing you to use a graphical interface to annotate and edit plots easily. In plot edit mode, you can label axes, change line styles, and add text, line, and arrow annotations.

plotedit off ends plot mode for the current figure.

plotedit toggles the plot edit mode for the current figure.

plotedit(h) toggles the plot edit mode for the figure specified by figure handle h.

plotedit('state') specifies the plotedit state for the current figure. Values for state can be as shown.

Value for state

Description

on

Starts plot edit mode

off

Ends plot edit mode

showtoolsmenu

Displays the Tools menu in the menu bar

hidetoolsmenu

Removes the Tools menu from the menu bar

plotedit(h,'state') specifies the plotedit state for figure handle h.

Tips

Plot Editing Mode Graphical Interface Components

Examples

Start plot edit mode for figure 2.

plotedit(2)

End plot edit mode for figure 2.

plotedit(2, 'off')

Hide the Tools menu for the current figure:

plotedit('hidetoolsmenu')

See Also

axes | line | open | plot | print | propedit | saveas | text

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS