Skip to content

Update GMT argument in the conic projections gallery to doc standards #780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions examples/projections/conic/conic_albers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
r"""
Albers Conic Equal Area
=======================

Expand All @@ -11,8 +11,12 @@
Between them, the scale along parallels is too small; beyond them it is too large.
The opposite is true for the scale along meridians.

``Blon0/lat0/lat1/lat2/width``: Give projection center ``lon0/lat0`` and two standard
parallels ``lat1/lat2``.
**b**\ *lon0/lat0*\ /\ *lat1/lat2*\ */scale*
or **B**\ *lon0/lat0*\ /\ *lat1/lat2*\ */width*

The projection is set with **b** or **B**. The projection center is set by *lon0/lat0*
and two standard parallels for the map are set with *lat1/lat2*. The figure size is set
with *scale* or *width*.
"""
import pygmt

Expand Down
10 changes: 7 additions & 3 deletions examples/projections/conic/conic_equidistant.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
r"""
Equidistant conic
=================

Expand All @@ -7,8 +7,12 @@
compromise between them. The scale is true along all meridians and the
standard parallels.

``Dlon0/lat0/lat1/lat2/width``: Give projection center ``lon0/lat0``, two standard
parallels ``lat1/lat2``, and the map width.
**d**\ *lon0/lat0*\ /\ *lat1/lat2*\ */scale*
or **D**\ *lon0/lat0*\ /\ *lat1/lat2*\ */width*

The projection is set with **d** or **D**. The projection center is set by *lon0/lat0*
and two standard parallels for the map are set with *lat1/lat2*. The figure size is set
with *scale* or *width*.
"""
import pygmt

Expand Down
10 changes: 7 additions & 3 deletions examples/projections/conic/conic_lambert.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
r"""
Lambert Conic Conformal Projection
==================================

Expand All @@ -9,8 +9,12 @@
with a common origin, and meridians are the equally spaced radii of these circles. As
with Albers projection, it is only the two standard parallels that are distortion-free.

``Llon0/lat0/lat1/lat2/width``: Give projection center ``lon0/lat0``, two standard
parallels ``lat1/lat2``, and the map width.
**l**\ *lon0/lat0*\ /\ *lat1/lat2*\ */scale*
or **L**\ *lon0/lat0*\ /\ *lat1/lat2*\ */width*

The projection is set with **l** or **L**. The projection center is set by *lon0/lat0*
and two standard parallels for the map are set with *lat1/lat2*. The figure size is set
with *scale* or *width*.
"""
import pygmt

Expand Down
7 changes: 5 additions & 2 deletions examples/projections/conic/polyconic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
r"""
Polyconic Projection
====================

Expand All @@ -18,7 +18,10 @@
consequence, no parallel is standard because conformity is lost with the lengthening of
the meridians.

``Poly/width``: The only additional argument for the projection is the map width.
**poly**\ */scale* or **Poly**\ */width*

The projection is set with **poly** or **Poly**. The figure size is set
with *scale* or *width*.
"""
import pygmt

Expand Down