gmt.Figure.grdimage

Figure.grdimage(grid, **kwargs)

Project grids or images and plot them on maps.

Takes a grid file name or an xarray.DataArray object as input.

Full option list at http://gmt.soest.hawaii.edu/doc/latest/grdimage.html

Aliases:

  • B = frame
  • C = cmap
  • I = shading
  • J = projection
  • R = region
  • W = pen
Parameters:
grid : str or xarray.DataArray

The file name of the input grid or the grid loaded as a DataArray.