| Mapping Toolbox | Search  Help Desk |
| zerom | Examples See Also |
Syntax
map = zerom(latlim,lonlim,scale) [map,maplegend] = zerom(latlim,lonlim,scale)
Description
map = zerom(latlim,lonlim,scale) returns a full regular matrix map consisting entirely of zeros. The two-element vectorslatlim 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 scale.
[map,maplegend] = zerom(latlim,lonlim,scale) returns the three-element map legend vector for the returned map.
Examples
[map,maplegend] = zerom([46,51],[-79,-75],1)
map =
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
maplegend =
1 51 -79
See Also
limitm |
Matrix map limits |
map legend vector |
Data structure for describing regular matrix maps |
nanm |
Create a matrix map of NaNs |
onem |
Create a matrix map of ones |
sizem |
Rows and columns needed for map |
spzerom |
Create a sparse matrix map of zeros |