Skip to content

Commit d64983f

Browse files
committed
Add cyl_universal_transverse_mercator.py
1 parent 27f5d20 commit d64983f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""
2+
Universal Transverse Mercator
3+
=============================
4+
5+
``U[UTM Zone/][lat0/]width``: Give UTM Zone ``UTM Zone``, and the figure width.
6+
"""
7+
import pygmt
8+
9+
fig = pygmt.Figure()
10+
# UTM Zone is set to 52R
11+
fig.coast(
12+
region=[127.5, 128.5, 26, 27],
13+
projection="U52R/12c",
14+
land="lightgreen",
15+
water="lightblue",
16+
shorelines="thinnest",
17+
frame="afg",
18+
)
19+
fig.show()

0 commit comments

Comments
 (0)