Skip to content
Merged
Changes from 2 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Logo
====
GMT logo
========

The :meth:`pygmt.Figure.logo` method allows to place the GMT logo on a map.
Comment thread
yvonnefroehlich marked this conversation as resolved.
Outdated
"""
Expand All @@ -11,9 +11,8 @@
fig = pygmt.Figure()
fig.basemap(region=[0, 10, 0, 2], projection="X6c", frame=True)

# Add the GMT logo in the Top Right (TR) corner of the current map,
# scaled up to be 3 cm wide and offset by 0.3 cm in x direction
# and 0.6 cm in y direction.
# Add the GMT logo in the Top Right (TR) corner of the current map, scaled up to be 3 cm
Comment thread
seisman marked this conversation as resolved.
Outdated
# wide and offset by 0.3 cm in x direction and 0.6 cm in y direction.
fig.logo(position="jTR+o0.3c/0.6c+w3c")

fig.show()