MATLAB 帮助中心
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处