| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
Remove axes and clear objects from them in plot edit mode. For details, see Working in Plot Edit Mode in the MATLAB Graphics documentation.
cla
cla reset
cla(ax)
cla(ax,'reset')
cla deletes from the current axes all graphics objects whose handles are not hidden (i.e., their HandleVisibility property is set to on).
cla reset deletes from the current axes all graphics objects regardless of the setting of their HandleVisibility property and resets all axes properties, except Position and Units, to their default values.
cla(ax) or cla(ax,'reset') clears the single axes with handle ax.
The cla command behaves the same way when issued on the command line as it does in callback routines — it does not recognize the HandleVisibility setting of callback. This means that when issued from within a callback routine, cla deletes only those objects whose HandleVisibility property is set to on.
Axes Operations for related functions
![]() | circumcenters (TriRep) | clabel | ![]() |

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 |