Skip to content

Commit

Permalink
Add projection and region to grdview docstring (GenericMappingTools#1295
Browse files Browse the repository at this point in the history
)

Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
  • Loading branch information
2 people authored and Josh Sixsmith committed Dec 21, 2022
1 parent 379fc5d commit 1f506dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pygmt/src/grdview.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ def grdview(self, grid, **kwargs):
grid : str or xarray.DataArray
The file name of the input relief grid or the grid loaded as a
DataArray.
region : str or list
*xmin/xmax/ymin/ymax*\ [**+r**][**+u**\ *unit*].
Specify the :doc:`region </tutorials/regions>` of interest. When used
with ``perspective``, optionally append */zmin/zmax* to indicate the
range to use for the 3-D axes [Default is the region in the input
grid].
{J}
zscale/zsize : float or str
Set z-axis scaling or z-axis size.
{B}
Expand Down

0 comments on commit 1f506dd

Please sign in to comment.