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

The :meth:`pygmt.Figure.logo` method allows to place the GMT logo on a map.
The :meth:`pygmt.Figure.logo` method allows to place the GMT logo on a figure.
"""

# %%
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 plot, scaled up to be 3
# centimeters 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()