Functions in Mapping Toolbox

By Category | Alphabetical List

aer2ecef Local spherical AER to geocentric ECEF
aer2enu Local spherical AER to local Cartesian ENU
aer2geodetic Local spherical AER to geodetic
aer2ned Local spherical AER to local Cartesian NED
angl2str Format angle strings
antipode Point on opposite side of globe
arcgridread Read gridded data set in Arc ASCII Grid Format
areaint Surface area of polygon on sphere or ellipsoid
areamat Surface area covered by nonzero values in binary data grid
areaquad Surface area of latitude-longitude quadrangle
avhrrgoode Read AVHRR data product stored in Goode Projection
avhrrlambert Read AVHRR data product stored in eqaazim projection
axes2ecc Eccentricity of ellipse from axes lengths
axesm Define map axes and set map properties
axesmui Define map axes and modify map projection and display properties
azimuth Azimuth between points on sphere or ellipsoid
bufferm Buffer zones for latitude-longitude polygons
bufgeoquad Expand limits of geographic quadrangle
camposm Set camera position using geographic coordinates
camtargm Set camera target using geographic coordinates
camupm Set camera up vector using geographic coordinates
clabelm Add contour labels to map contour display
clegendm Add legend labels to map contour display
clipdata Clip data at +/-pi in longitude, +/-pi in latitude
clma Clear current map axes
closePolygonParts Close all rings in multipart polygon
clrmenu Add colormap menu to figure window
contour3m Project 3-D contour plot of map data
contourcbar Color bar for filled contour map display
contourcmap Contour colormap and colorbar for current axes
contourfm Project filled 2-D contour plot of map data
contourm Project 2-D contour plot of map data
daspectm Control vertical exaggeration in map display
defaultm Initialize or reset map projection structure
deg2km Convert distance from degrees to kilometers
deg2nm Convert distance from degrees to nautical miles
deg2sm Convert distance from degrees to statute miles
degrees2dm Convert degrees to degrees-minutes
degrees2dms Convert degrees to degrees-minutes-seconds
degtorad Convert angles from degrees to radians
demcmap Colormaps appropriate to terrain elevation data
demdataui UI for selecting digital elevation data
departure Departure of longitudes at specified latitudes
distance Distance between points on sphere or ellipsoid
distortcalc Distortion parameters for map projections
dm2degrees Convert degrees-minutes to degrees
dms2degrees Convert degrees-minutes-seconds to degrees
dted Read U.S. Department of Defense Digital Terrain Elevation Data (DTED)
dteds DTED filenames for latitude-longitude quadrangle
earthRadius Mean radius of planet Earth
ecc2flat Flattening of ellipse from eccentricity
ecc2n Third flattening of ellipse from eccentricity
ecef2aer Geocentric ECEF to local spherical AER
ecef2enu Geocentric ECEF to local Cartesian ENU
ecef2enuv Rotate vector from geocentric ECEF to local ENU
ecef2geodetic Convert geocentric (ECEF) to geodetic coordinates
ecef2lv Convert geocentric (ECEF) to local vertical coordinates
ecef2ned Geocentric ECEF to local Cartesian NED
ecef2nedv Rotate vector from geocentric ECEF to local NED
egm96geoid Read 15-minute gridded geoid heights from EGM96
ellipse1 Geographic ellipse from center, semimajor axes, eccentricity, and azimuth
enu2aer Local Cartesian ENU to local spherical AER
enu2ecef Local Cartesian ENU to geocentric ECEF
enu2ecefv Rotate vector from local ENU to geocentric ECEF
enu2geodetic Local Cartesian ENU to geodetic
etopo Read gridded global relief data (ETOPO products)
etopo5 Read global 5-min digital terrain data
extractfield Field values from structure array
flat2ecc Eccentricity of ellipse from flattening
flatearthpoly Insert points along date line to pole
framem Toggle and control display of map frame
fromDegrees Convert angles from degrees
fromRadians Convert angles from radians
gc2sc Center and radius of great circle
gcm Current map projection structure
gcpmap Current mouse point from map axes
gcxgc Intersection points for pairs of great circles
gcxsc Intersection points for great and small circle pairs
geocentricLatitude Convert geodetic to geocentric latitude
geodetic2aer Geodetic to local spherical AER
geodetic2ecef Convert geodetic to geocentric (ECEF) coordinates
geodetic2enu Geodetic to local Cartesian ENU
geodetic2ned Geodetic to local Cartesian NED
geodeticLatitudeFromGeocentric Convert geocentric to geodetic latitude
geodeticLatitudeFromParametric Convert parametric to geodetic latitude
geoloc2grid Convert geolocated data array to regular data grid
geopoint Geographic point vector
geoquadline Geographic quadrangle bounding multi-part line
geoquadpt Geographic quadrangle bounding scattered points
georasterref Construct geographic raster reference object
geoshape Geographic shape vector
geoshow Display map latitude and longitude data
geotiff2mstruct Convert GeoTIFF information to map projection structure
geotiffinfo Information about GeoTIFF file
geotiffread Read GeoTIFF file
geotiffwrite Write GeoTIFF file
getm Map object properties
getworldfilename Derive worldfile name from image filename
globedem Read Global Land One-km Base Elevation (GLOBE) data
globedems GLOBE data filenames for latitude-longitude quadrangle
gpxread Read GPX file
gradientm Calculate gradient, slope and aspect of data grid
grid2image Display regular data grid as image
gridm Toggle and control display of graticule lines
gshhs Read Global Self-Consistent Hierarchical High-Resolution Shoreline
gtextm Place text on map using mouse
gtopo30 Read 30-arc-second global digital elevation data (GTOPO30)
gtopo30s GTOPO30 data filenames for latitude-longitude quadrangle
handlem Handles of displayed map objects
handlem-ui GUI for handles of specified mapped objects
imbedm Encode data points into regular data grid
imread Read image from graphics file
imwrite Write image to graphics file
ingeoquad True for points inside or on lat-lon quadrangle
inputm Latitudes and longitudes of mouse-click locations
interpm Densify latitude-longitude sampling in lines or polygons
intersectgeoquad Intersection of two latitude-longitude quadrangles
intrplat Interpolate latitude at given longitude
intrplon Interpolate longitude at given latitude
ismap True for axes with map projection
ispolycw True if polygon vertices are in clockwise order
isShapeMultipart True if polygon or line has multiple parts
km2deg Convert distance from kilometers to degrees
km2nm Convert kilometers to nautical miles
km2rad Convert distance from kilometers to radians
km2sm Convert kilometers to statute miles
kmlwrite Write geographic data to KML file
kmlwriteline Write geographic line data to KML file
kmlwritepoint Write geographic point data to KML file
lightm Project light objects on map axes
limitm Determine latitude and longitude limits of regular data grid
linecirc Intersections of circles and lines in Cartesian plane
linem Project line object on map axes
los2 Line-of-sight visibility between two points in terrain
ltln2val Extract data grid values for specified locations
lv2ecef Convert local vertical to geocentric (ECEF) coordinates
majaxis Semimajor axis of ellipse
makeattribspec Attribute specification from geographic data structure
makedbfspec DBF specification from geographic data structure
makerefmat Construct affine spatial-referencing matrix
makesymbolspec Construct vector layer symbolization specification
map.geodesy.AuthalicLatitudeConverter Convert between geodetic and authalic latitudes
map.geodesy.ConformalLatitudeConverter Convert between geodetic and conformal latitudes
map.geodesy.IsometricLatitudeConverter Convert between geodetic and isometric latitudes
map.geodesy.RectifyingLatitudeConverter Convert between geodetic and rectifying latitudes
map.geodesy.isdegree True if string matchesdegree and false if radian
map.rasterref.GeographicRasterReference Reference raster to geographic coordinates
map.rasterref.MapRasterReference Reference raster to map coordinates
maplist Available Mapping Toolbox map projections
mapoutline Compute outline of georeferenced image or data grid
mappoint Planar point vector
mapprofile Interpolate between waypoints on regular data grid
maprasterref Construct map raster reference object
maps List available map projections and verify names
mapshape Planar shape vector
mapshow Display map data without projection
maptool Add menu-activated tools to map figure
maptrim Interactively trim and convert map data from vector to raster format
maptriml Trim lines to latitude-longitude quadrangle
maptrimp Trim polygons to latitude-longitude quadrangle
maptrims Trim regular data grid to latitude-longitude quadrangle
mapview Interactive map viewer
mdistort Display contours of constant map distortion
meridianarc Ellipsoidal distance along meridian
meridianfwd Reckon position along meridian
meshlsrm 3-D lighted shaded relief of regular data grid
meshm Project regular data grid on map axes
mfwdtran Project geographic features to map coordinates
minaxis Semiminor axis of ellipse
minvtran Unproject features from map to geographic coordinates
mlabel Toggle and control display of meridian labels
mlabelzero22pi Convert meridian labels to 0-360 degree range
n2ecc Eccentricity of ellipse from third flattening
namem Names of graphics objects
ned2aer Local Cartesian NED to local spherical AER
ned2ecef Local Cartesian NED to geocentric ECEF
ned2ecefv Rotate vector from local NED to geocentric ECEF
ned2geodetic Local Cartesian NED to geodetic
newpole Origin vector to place specific point at pole
nm2deg Convert distance from nautical miles to degrees
nm2km Convert nautical miles to kilometers
nm2rad Convert distance from nautical miles to radians
nm2sm Convert nautical to statute miles
northarrow Add graphic element pointing to geographic North Pole
oblateSpheroid Oblate ellipsoid of revolution
org2pol Location of north pole in rotated map
originui Interactively modify map origin
outlinegeoquad Polygon outlining geographic quadrangle
parallelui Interactively modify map parallels
parametricLatitude Convert geodetic to parametric latitude
pcolorm Project regular data grid on map axes in z = 0 plane
plabel Toggle and control display of parallel labels
plot3m Project 3-D lines and points on map axes
plotm Project 2-D lines and points on map axes
polcmap Colormaps appropriate to political regions
poly2ccw Convert polygon contour to counterclockwise vertex ordering
poly2cw Convert polygon contour to clockwise vertex ordering
poly2fv Convert polygonal region to patch faces and vertices
polybool Set operations on polygonal regions
polyjoin Convert line or polygon parts from cell arrays to vector form
polymerge Merge line segments with matching endpoints
polysplit Convert line or polygon parts from vector form to cell arrays
polyxpoly Intersection points for lines or polygon edges
projfwd Forward map projection using PROJ.4 map projection library
projinv Inverse map projection using PROJ.4 map projection library
projlist Map projections supported by projfwd and projinv
putpole Origin vector to place north pole at specified point
quiver3m Project 3-D quiver plot on map axes
quiverm Project 2-D quiver plot on map axes
rad2km Convert distance from radians to kilometers
rad2nm Convert distance from radians to nautical miles
rad2sm Convert distance from radians to statute miles
radtodeg Convert angles from radians to degrees
rcurve Ellipsoidal radii of curvature
reckon Point at specified azimuth, range on sphere or ellipsoid
reducem Reduce density of points in vector data
referenceEllipsoid Reference ellipsoid
referenceSphere Reference sphere
refmatToGeoRasterReference Referencing matrix to geographic raster reference object
refmatToMapRasterReference Referencing matrix to map raster reference object
refmatToWorldFileMatrix Convert referencing matrix to world file matrix
refvecToGeoRasterReference Referencing vector to geographic raster reference object
removeExtraNanSeparators Clean up NaN separators in polygons and lines
resizem Resize regular data grid
rhxrh Intersection points for pairs of rhumb lines
rotatem Transform vector map data to new origin and orientation
rotatetext Rotate text to projected graticule
rsphere Radii of auxiliary spheres
satbath Read 2-minute terrain/bathymetry from Smith and Sandwell
scaleruler Add or modify graphic scale on map axes
scatterm Project point markers with variable color and area
scircle1 Small circles from center, range, and azimuth
scircle2 Small circles from center and perimeter
scircleg Small circle defined via mouse input
scirclui GUI to display small circles on map axes
scxsc Intersection points for pairs of small circles
sdtsdemread Read data from SDTS raster/DEM data set
sdtsinfo Information about SDTS data set
sectorg Sector of small circle defined via mouse input
setm Set properties of map axes and graphics objects
shaderel Construct cdata and colormap for shaded relief
shapeinfo Information about shapefile
shaperead Read vector features and attributes from shapefile
shapewrite Write geographic vector data structure to shapefile
showaxes Toggle display of map coordinate axes
sm2deg Convert distance from statute miles to degrees
sm2km Convert statute miles to kilometers
sm2nm Convert statute to nautical miles
sm2rad Convert distance from statute miles to radians
stem3m Project stem plot map on map axes
str2angle Convert strings to angles in degrees
surfacem Project and add geolocated data grid to current map axes
surflm 3-D shaded surface with lighting on map axes
surflsrm 3-D lighted shaded relief of geolocated data grid
surfm Project geolocated data grid on map axes
symbolm Project point markers with variable size
tagm Set Tag property of map graphics object
tbase Read 5-minute global terrain elevations from TerrainBase
tightmap Remove white space around map
tissot Project Tissot indicatrices on map axes
toDegrees Convert angles to degrees
toRadians Convert angles to radians
track1 Geographic tracks from starting point, azimuth, and range
track2 Geographic tracks from starting and ending points
trackg Great circle or rhumb line defined via mouse input
trackui GUI to display great circles and rhumb lines on map axes
unitsratio Unit conversion factors
unwrapMultipart Unwrap vector of angles with NaN-delimited parts
usamap Construct map axes for United States of America
usgs24kdem Read USGS 7.5-minute (30-m or 10-m) Digital Elevation Models
usgsdem Read USGS 1-degree (3-arc-second) Digital Elevation Model
usgsdems USGS 1-degree (3-arc-sec) DEM filenames for latitude-longitude quadrangle
utmgeoid Select ellipsoids for given UTM zone
utmzone Select UTM zone given latitude and longitude
utmzoneui Choose or identify UTM zone by clicking map
validateLengthUnit Validate and standardize length unit string
vec2mtx Convert latitude-longitude vectors to regular data grid
vfwdtran Direction angle in map plane from azimuth on ellipsoid
viewshed Areas visible from point on terrain elevation grid
vinvtran Azimuth on ellipsoid from direction angle in map plane
vmap0data Read selected data from Vector Map Level 0
vmap0read Read Vector Map Level 0 file
vmap0rhead Read Vector Map Level 0 file headers
vmap0ui UI for selecting data from Vector Map Level 0
webmap Open web map
WebMapServer Web map server object
wgs84Ellipsoid Reference ellipsoid for World Geodetic System 1984
wmcenter Set or obtain web map center point
wmclose Close web map
wmlimits Set or obtain web map limits
wmline Display geographic line on web map
wmmarker Display geographic marker on web map
wmprint Print web map
wmremove Remove overlay on web map
WMSCapabilities Web Map Service capabilities object
wmsfind Search local database for Web map servers and layers
wmsinfo Information about WMS server from capabilities document
WMSLayer Web Map Service layer object
WMSMapRequest Web Map Service map request object
wmsread Retrieve WMS map from server
wmsupdate Synchronize WMSLayer object with server
wmzoom Set or obtain zoom level of web map
worldFileMatrixToRefmat Convert world file matrix to referencing matrix
worldfileread Read world file and return referencing object or matrix
worldfilewrite Write world file from referencing object or matrix
worldmap Construct map axes for given region of world
wrapTo180 Wrap angle in degrees to [-180 180]
wrapTo2Pi Wrap angle in radians to [0 2*pi]
wrapTo360 Wrap angle in degrees to [0 360]
wrapToPi Wrap angle in radians to [−pi pi]
zdatam Adjust z-plane of displayed map objects
Was this topic helpful?