pygmt.Figure.basemap¶
-
Figure.
basemap
(**kwargs)¶ Produce a basemap for the figure.
Several map projections are available, and the user may specify separate tick-mark intervals for boundary annotation, ticking, and [optionally] gridlines. A simple map scale or directional rose may also be plotted.
At least one of the options frame, L, or T must be specified.
Full option list at https://docs.generic-mapping-tools.org/latest/basemap.html
Aliases:
B = frame
J = projection
R = region
U = timestamp
- Parameters
projection (str) – Required if this is the first plot command. Select map projection.
region (str or list) – Required if this is the first plot command.
'xmin/xmax/ymin/ymax[+r][+uunit]'
. Specify the region of interest.frame (str or list) – Set map boundary frame and axes attributes.
L (str) –
'[g|j|J|n|x]refpoint'
Draws a simple map scale centered on the reference point specified.Td (str) – Draws a map directional rose on the map at the location defined by the reference and anchor points.
Tm (str) – Draws a map magnetic rose on the map at the location defined by the reference and anchor points