| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
plotedit on
plotedit off
plotedit
plotedit(h)
plotedit('state')
plotedit(h,'state')
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 |
|---|---|
Starts plot edit mode | |
Ends plot edit mode | |
Displays the Tools menu in the menu bar | |
Removes the Tools menu from the menu bar |
Note hidetoolsmenu is intended for GUI developers who do not want the Tools menu to appear in applications that use the figure window. |
plotedit(h,'state') specifies the plotedit state for figure handle h.

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')
axes, line, open, plot, print, saveas, text, propedit
![]() | plotbrowser | plotmatrix | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |