| Mapping Toolbox | ![]() |
List projection names or projection codes
Syntax
Description
maps displays in the command window a table describing all projections available for use.
strmat = maps('namelist') returns the English names for the available projections as a matrix of strings.
strmat = maps('idlist') returns the standard projection identification strings for the available projections as a matrix of strings.
stdstr = maps(id_string) returns the specific standard projection identification string associated with a unique truncation abbreviation.
Examples
To show the first five entries of the projections name list:
str1 = maps('namelist');str1(1:5,:)ans = Balthasart Cylindrical Behrmann Cylindrical Bolshoi Sovietskii Atlas Mira Braun Perspective Cylindrical Cassini Cylindrical
The corresponding shorthand names are:
These are the strings used, for example, when setting the axesm property MapProjection.
The functions setm and axesm recognizes unique abbreviations (truncations) of these strings. The maps function can be used to convert such an abbreviation to the standard id string:
When the function name alone is used:
maps MapTools Projections CLASS NAME ID STRING Cylindrical Balthasart Cylindrical balthsrt Cylindrical Behrmann Cylindrical behrmann Cylindrical Bolshoi Sovietskii Atlas Mira* bsam Cylindrical Braun Perspective Cylindrical* braun Cylindrical Cassini Cylindrical cassini Cylindrical Central Cylindrical* ccylin Cylindrical Equal Area Cylindrical eqacylin Cylindrical Equidistant Cylindrical eqdcylin Cylindrical Gall Isographic giso
The actual result contains all defined projections.
See Also
axesm |
Create map axes |
setm |
Modify the properties of a displayed map |
| mapprofile | maptriml | ![]() |