Mapping Toolbox | ![]() ![]() |
Determine latitude and longitude limits of a regular matrix map
Syntax
Description
[latlimits,lonlimits] = limitm(map,maplegend) returns two-element limit vectors, latlimits
and lonlimits
, describing the extremes of the input regular matrix map
with a legend vector maplegend
.
latlimits and lonlimits are of the form [south-limit north-limit]
and [west-limit east-limit]
, respectively. All elements are in degrees, since this command deals only with regular matrix maps.
limvec = limitm(map,maplegend) returns a single, four-element output vector of the form: [south-limit north-limit west-limit east-limit]
.
Examples
Which is what we expect, since topo
covers the whole globe.
See Also
map legend vector |
Data structure for describing regular matrix maps |
nanm onem spzerom zerom |
Create special matrix maps |
sizem |
Row and column dimensions needed for matrix map |
![]() | lightmui | linem | ![]() |