Skip to content

Commit 5345678

Browse files
Fix typos in documentation for Polar projection (#2058)
* Use consistently 'r-axis' (not 'r axis') * Add unit * Capitalize 'Earth'
1 parent c9b9d5d commit 5345678

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/projections/nongeo/polar.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
definition); **+a** indicates that the input data is rotated clockwise
2424
relative to the north direction (geographical azimuth angle).
2525
26-
- **+r**\ *offset*: represents the offset of the r axis. This modifier allows
26+
- **+r**\ *offset*: represents the offset of the r-axis. This modifier allows
2727
you to offset the center of the circle from r=0.
2828
2929
- **+t**\ *origin*: sets the angle corresponding to the east direction which is
@@ -34,16 +34,16 @@
3434
- **+f**: reverses the radial direction.
3535
3636
- Append **e** to indicate that the r-axis is an elevation angle, and the
37-
range of the r-axis should be between 0 and 90.
38-
- Appending **p** sets the current earth radius (determined by
37+
range of the r-axis should be between 0° and 90°.
38+
- Appending **p** sets the current Earth radius (determined by
3939
:gmt-term:`PROJ_ELLIPSOID`)
40-
to the maximum value of the r axis when the r axis is reversed.
41-
- Append *radius* to set the maximum value of the r axis.
40+
to the maximum value of the r-axis when the r-axis is reversed.
41+
- Append *radius* to set the maximum value of the r-axis.
4242
43-
- **+z**: indicates that the r axis is marked as depth instead of radius (e.g.
43+
- **+z**: indicates that the r-axis is marked as depth instead of radius (e.g.
4444
*r = radius - z*).
4545
46-
- Append **p** to set radius to the current earth radius.
46+
- Append **p** to set radius to the current Earth radius.
4747
- Append *radius* to set the value of the radius.
4848
4949
"""
@@ -150,7 +150,7 @@
150150
region=[0, 90, 3480, 6371],
151151
# set map width to 5 cm and interpret input data as geographic azimuth
152152
# instead of standard angle, rotate coordinate system counterclockwise by
153-
# 45 degrees, r axis is marked as depth
153+
# 45 degrees, r-axis is marked as depth
154154
projection="P5c+a+t45+z",
155155
# set the frame and color
156156
frame=["xa30f", "ya", "WNse+gbisque"],

0 commit comments

Comments
 (0)