User`s guide
21-5
• The regiononly and stateonly syntax: a state or country name with the string
'only' appended
• All type options: 'none', 'line', 'lineonly', 'patch', 'patchonly',
'mesh', 'meshonly', 'dem', 'demonly', 'dem3d', 'dem3donly', 'lmesh3d',
'lmesh3donly', 'ldem3d', and 'ldem3donly' (the new behavior matches the
'none' option)
Changes to worldmap and usamap Display Types
As of this release, the worldmap and usamap functions no longer supports the type
input argument. This argument provided an easy way to control display behavior.
The type option in worldmap was a single argument that could be one of the following
strings: 'none', 'line', 'lineonly', 'patch', 'patchonly', 'mesh', 'meshonly',
'dem', 'demonly', 'dem3d', 'dem3donly', 'lmesh3d', 'lmesh3donly', 'ldem3d',
and 'ldem3donly'. In usamap, type was a subset of the above names (the 3-D options
were not supported).
In the current release, the various type display options can be simulated by following
a call to worldmap or usamap with an appropriate set of Mapping Toolbox commands.
The following table specifies how you can achieve the effects of the old worldmap type
argument using such auxiliary methods:
Mapping 1.x to 2.0.x Usage Mapping 2.1 Usage
load topo
worldmap(topo,topolegend,'dem')
load topo
worldmap(topo,topolegend)
meshm(topo,topolegend)
demcmap(topo)
land =
shaperead('landareas.shp','UseGeoCoords',true);
geoshow([land.Lat], [land.Lon])
load topo
worlmdap(topo,topolegend,'demonly')
load topo
worldmap(topo,topolegend)
meshm(topo,topolegend)