Mapping Toolbox | ![]() ![]() |
Syntax
Description
map = onem(latlim,lonlim,scale) returns a regular matrix map consisting entirely of ones. The two-element vectors latlim
and lonlim
define the latitude and longitude limits of the geographic region. They should be of the form [south north]
and [west east]
, respectively. The number of rows and columns per angle unit is set by the scalar value scale
.
[map,maplegend] = onem(latlim,lonlim,scale) returns the three-element map legend vector for the returned map
.
Examples
[map,maplegend] = onem([46,51],[-79,-75],1)
map =
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
maplegend =
1 51 -79
See Also
limitm |
Matrix map limits |
map legend vector |
Data structure for regular matrix maps |
nanm |
Create a matrix map of NaN s |
sizem |
Row and column dimensions needed for map |
spzerom |
Create a sparse matrix map of zeros |
zerom |
Create a full matrix map of zeros |
![]() | npi2pi | org2pol | ![]() |