Skip to content

Commit

Permalink
Improve explanation of image inputs into grdimage
Browse files Browse the repository at this point in the history
Co-Authored-By: Dongdong Tian <seisman.info@gmail.com>
  • Loading branch information
weiji14 and seisman committed Sep 22, 2020
1 parent 924e5a8 commit 6f0c34a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pygmt/base_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,11 @@ def grdimage(self, grid, **kwargs):
or instructions to derive intensities from the input data grid. Values
outside this range will be clipped. Such intensity files can be created
from the grid using `grdgradient` and, optionally, modified by
`grdmath` or `grdhisteq`. A third alternative is available when GMT is
build with GDAL support. Pass **image** which can be an image file
(geo-referenced or not). In this case the image can optionally be
illuminated with the file provided via the *shading* option. Here, if
image has no coordinates then those of the intensity file will be used.
`grdmath` or `grdhisteq`. If GMT is built with GDAL support, *grid* can
be an image file (geo-referenced or not). In this case the image can
optionally be illuminated with the file provided via the *shading*
option. Here, if image has no coordinates then those of the intensity
file will be used.
When using map projections, the grid is first resampled on a new
rectangular grid with the same dimensions. Higher resolution images can
Expand Down

0 comments on commit 6f0c34a

Please sign in to comment.