Projections

PyGMT supports many map projections. Use the projection parameter to specify which one you want to use in all plotting methods. The projection is specified by a one-letter code along with (sometimes optional) reference longitude and latitude and the width of the map (for example, Alon0/lat0[/horizon]/width). The map height is determined based on the region and projection.

These are all the available projections:

Azimuthal Projections

Azimuthal Equidistant

Azimuthal Equidistant

General Perspective

General Perspective

General Stereographic

General Stereographic

Gnomonic

Gnomonic

Lambert Azimuthal Equal Area

Lambert Azimuthal Equal Area

Orthographic

Orthographic

Conic Projections

Albers Conic Equal Area

Albers Conic Equal Area

Equidistant conic

Equidistant conic

Lambert Conic Conformal Projection

Lambert Conic Conformal Projection

Polyconic Projection

Polyconic Projection

Cylindric Projections

Cassini Cylindrical

Cassini Cylindrical

Cylindrical Stereographic

Cylindrical Stereographic

Cylindrical equal-area

Cylindrical equal-area

Cylindrical equidistant

Cylindrical equidistant

Mercator

Mercator

Miller cylindrical

Miller cylindrical

Oblique Mercator, 1: origin and azimuth

Oblique Mercator, 1: origin and azimuth

Oblique Mercator, 2: two points

Oblique Mercator, 2: two points

Oblique Mercator, 3: origin and pole

Oblique Mercator, 3: origin and pole

Transverse Mercator

Transverse Mercator

Universal Transverse Mercator

Universal Transverse Mercator

Miscellaneous Projections

Eckert IV

Eckert IV

Eckert VI

Eckert VI

Hammer

Hammer

Mollweide

Mollweide

Robinson

Robinson

Sinusoidal

Sinusoidal

Van der Grinten

Van der Grinten

Winkel Tripel

Winkel Tripel

Non-geographic Projections

Cartesian linear

Cartesian linear

Cartesian logarithmic

Cartesian logarithmic

Cartesian power

Cartesian power

Polar

Polar

Projection Table

The table below shows the projection codes for the 31 GMT projections:

PyGMT Projection Argument

Projection Name

Alon0/lat0[/horizon]/width

Lambert azimuthal equal area

Blon0/lat0/lat1/lat2/width

Albers conic equal area

Clon0/lat0/width

Cassini cylindrical

Cyl_stere/[lon0/[lat0/]]width

Cylindrical stereographic

Dlon0/lat0/lat1/lat2/width

Equidistant conic

Elon0/lat0[/horizon]/width

Azimuthal equidistant

Flon0/lat0[/horizon]/width

Azimuthal gnomonic

Glon0/lat0[/horizon]/width

Azimuthal orthographic

Glon0/lat0/width[+aazimuth][+ttilt][+vvwidth/vheight][+wtwist][+zaltitude]

General perspective

H[lon0/]width

Hammer equal area

I[lon0/]width

Sinusoidal equal area

J[lon0/]width

Miller cylindrical

Kf[lon0/]width

Eckert IV equal area

Ks[lon0/]width

Eckert VI equal area

Llon0/lat0/lat1/lat2/width

Lambert conic conformal

M[lon0/[lat0/]]width

Mercator cylindrical

N[lon0/]width

Robinson

Oalon0/lat0/azimuth/width[+v]

Oblique Mercator, 1: origin and azimuth

Oblon0/lat0/lon1/lat1/width[+v]

Oblique Mercator, 2: two points

Oclon0/lat0/lonp/latp/width[+v]

Oblique Mercator, 3: origin and pole

Pwidth[+a][+f[e|p|radius]][+roffset][+torigin][+z[p|radius]]

Polar [azimuthal] (\(\theta, r\)) (or cylindrical)

Poly/[lon0/[lat0/]]width

Polyconic

Q[lon0/[lat0/]]width

Equidistant cylindrical

R[lon0/]width

Winkel Tripel

Slon0/lat0[/horizon]/width

General stereographic

Tlon0[/lat0]/width

Transverse Mercator

Uzone/width

Universal Transverse Mercator (UTM)

V[lon0/]width

Van der Grinten

W[lon0/]width

Mollweide

Xwidth[l|pexp|T|t][/height[l|pexp|T|t]][d]

Linear, logarithmic, power, and time

Ylon0/lat0/width

Cylindrical equal area

Gallery generated by Sphinx-Gallery