pygmt.Figure.basemap

Figure.basemap(self, **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 B, L, or T must be specified.

Full option list at https://www.generic-mapping-tools.org/gmt/latest/basemap.html

Aliases:

  • B = frame

  • J = projection

  • R = region

Parameters
Jstr

Required if this is the first plot command. Select map projection.

Rstr or list

Required if this is the first plot command. 'xmin/xmax/ymin/ymax[+r][+uunit]'. Specify the region of interest.

Bstr

Set map boundary frame and axes attributes.

Lstr

'[g|j|J|n|x]refpoint' Draws a simple map scale centered on the reference point specified.

Tdstr

Draws a map directional rose on the map at the location defined by the reference and anchor points.

Tmstr

Draws a map magnetic rose on the map at the location defined by the reference and anchor points

Ubool or str

Draw GMT time stamp logo on plot.