pygmt.Figure.basemap

Figure.basemap(**kwargs)

Plot base maps and frames for the figure.

Creates a basic or fancy basemap with axes, fill, and titles. 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://docs.generic-mapping-tools.org/latest/basemap.html

Aliases:

  • B = frame

  • J = projection

  • JZ = zsize

  • Jz = zscale

  • R = region

  • p = perspective

Parameters
  • J (str) – Required if this is the first plot command. Select map projection.

  • R (str or list) – Required if this is the first plot command. 'xmin/xmax/ymin/ymax[+r][+uunit]'. Specify the region of interest.

  • B (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

  • U (bool or str) – Draw GMT time stamp logo on plot.

  • zscale/zsize (float or str) – Set z-axis scaling or z-axis size.

  • perspective (list or str) – '[x|y|z]azim[/elev[/zlevel]][+wlon0/lat0[/z0]][+vx0/y0]'. Select perspective view.