pygmt.Figure.logo
- Figure.logo(*, region=None, projection=None, position=None, box=None, style=None, verbose=None, panel=None, transparency=None, **kwargs)
Plot the GMT logo.
By default, the GMT logo is 2 inches wide and 1 inch high and will be positioned relative to the current plot origin. Use various options to change this and to place a transparent or opaque rectangular map panel behind the GMT logo.
Full GMT docs at https://docs.generic-mapping-tools.org/6.5/gmtlogo.html.
Aliases:
D = position
F = box
J = projection
R = region
S = style
V = verbose
c = panel
t = transparency
- Parameters:
projection (str) – projcode[projparams/]width|scale. Select map projection.
region (str or list) – xmin/xmax/ymin/ymax[+r][+uunit]. Specify the region of interest.
position (str) – [g|j|J|n|x]refpoint+wwidth[+jjustify][+odx[/dy]]. Set reference point on the map for the image.
box (bool or str) – If set to
True
, draw a rectangular border around the GMT logo.style (str) –
[l|n|u]. Control what is written beneath the map portion of the logo.
l to plot the text label “The Generic Mapping Tools” [Default]
n to skip the label placement
u to place the URL to the GMT site
verbose (bool or str) – Select verbosity level [Full usage].
Select a specific subplot panel. Only allowed when used in
Figure.subplot
mode.True
to advance to the next panel in the selected order.index to specify the index of the desired panel.
(row, col) to specify the row and column of the desired panel.
The panel order is determined by the
Figure.subplot
method. row, col and index all start at 0.transparency (float) – Set transparency level, in [0-100] percent range [Default is
0
, i.e., opaque]. Only visible when PDF or raster format output is selected. Only the PNG format selection adds a transparency layer in the image (for further processing).