| Mapping Toolbox | ![]() |
Map Appearance and Interaction
Table 9-8 Annotation
Function
Description
clabelmMap contour labeling.
clegendmAdd legend labels to map contour plot.
cmapuiA GUI to generate colormaps by picking colors
contourcmapContour-like color jumps on surface objects
demcmapGeneration of color maps.
framemToggle display of map frame.
gridmGrid lines projected on map axes.
lcolorbarLabeled colorbar.
mdistortDisplays contours of constant distortion on a map.
mlabelMeridian labels projected on map axes.
mlabelzero22piDisplay longitude labels in the range of 0 to 360 degrees
northarrowAdd graphic element pointing to North Pole
plabelParallel labels projected on map axes.
polcmapColormap for political maps.
scalerulerAdd or modify graphic scale.
textmText annotation projected onto map axes.
Table 9-9 Interaction
Function
Description
cmapuiA GUI to generate colormaps by picking colors
gcpmapGet current mouse point from map.
gtextmMouse placement of text on map.
scirclegInteractive small circles.
sectorgInteractive sectors of small circles.
trackgInteractive tracks.
inputmLatitude and longitude selected by mouse.
Table 9-10 Appearance Control
Function
Description
axesscaleResize axes for equivalent scale.
camtargmCamera target from geographic coordinates.
camposmCamera position from geographic coordinates.
camupmCamera
UpVector from geographic coordinates.daspectmFigure
DataAspectRatio property for a map.paperscaleFigure paper size for a given map scale.
previewmapView map at printed size.
rotatetextRotate text to the projected graticule.
tightmapRemove whitespace around a map.
trimcartTrim graphic objects to the map frame.
Table 9-11 Object Display
Function
Description
clmaClear current map axes.
clmoClear specified map graphics object.
hidemHide specified map graphic objects.
mobjectsManipulate object sets displayed on map axes.
showaxesToggle display of Cartesian MATLAB axes.
showmShow specified graphic objects.
Table 9-12 Property Manipulation
Function
Description
cart2grnGreenwich coordinates of displayed map object.
getmGet map object properties.
handlemHandle of displayed map objects.
makemappedMake an object a mapped object.
namemNames of displayed graphics objects.
restackRestacks objects within the axes.
setmSet and modify map properties.
tagmAssign names to graphics objects using tag property.
zdatamAdjust z plane of displayed map objects.
Table 9-13 Geographic Data Structures
Function
Description
displaymProject entries of geographic data structure.
extractmExtract vector data from geographic data structure.
mlayersManipulate map layers defined with structure data.
| Mapping Reference | Geographic Computation | ![]() |