MATLAB Help Center
Clear graphics objects from axesm-based map
axesm
clmo
clmo(obj)
clmo(objType)
clmo opens a dialog box that enables you to interactively select objects to clear from the current axes.
clmo(obj) clears the specified objects.
obj
example
clmo(objType) clear objects of the specified type.
objType
collapse all
Load a MAT file containing the coordinates of global coastlines into the workspace. Create a world map and then plot the coastline data.
load coastlines figure worldmap("world") p = plotm(coastlat,coastlon);
Clear the plot from the current axes.
clmo(p)
Objects to clear, specified as an array of graphics objects.
"all"
"clabel"
"contour"
"fillcontour"
"frame"
Type of graphics object to clear, specified as one of these options.
All children
Contour labels
hggroup containing contours
hggroup
hggroup containing filled contours
Map frame
"grid"
Map grid lines
"hggroup"
All hggroup objects
"hidden"
Hidden objects
"image"
Untagged image objects
"light"
Untagged light objects
"line"
Untagged line objects
"map"
All objects on the map, excluding the frame and grid
"meridian"
Longitude grid lines
"mlabel"
Longitude labels
"parallel"
Latitude grid lines
"plabel"
Latitude labels
"patch"
Untagged patch objects
"scaleruler"
Scale rulers
"surface"
Untagged surface objects
"text"
Untagged text objects
"tissot"
Tissot indicatrices
"visible"
Visible objects
Data Types: char | string
char
string
Introduced before R2006a
clma | handlem | showm
clma
handlem
showm
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office