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