@@ -379,7 +379,6 @@ def grdimage(self, grid, **kwargs):
379
379
Parameters
380
380
----------
381
381
grid : str or xarray.DataArray
382
- ``grid | image``.
383
382
The file name or a DataArray containing the input 2-D gridded data
384
383
set or image to be plotted (See GRID FILE FORMATS at
385
384
:gmt-docs:`grdimage.html#grid-file-formats`).
@@ -392,7 +391,7 @@ def grdimage(self, grid, **kwargs):
392
391
*out_img* to select the image file name and extension. If the
393
392
extension is one of .bmp, .gif, .jpg, .png, or .tif then no driver
394
393
information is required. For other output formats you must append
395
- the required GDAL driver. The driver is the driver code name used
394
+ the required GDAL driver. The * driver* is the driver code name used
396
395
by GDAL; see your GDAL installation's documentation for available
397
396
drivers. Append a **+c**\\ *options* string where options is a list
398
397
of one or more concatenated number of GDAL **-co** options. For
@@ -418,8 +417,8 @@ def grdimage(self, grid, **kwargs):
418
417
Sets the resolution of the projected grid that will be created if a
419
418
map projection other than Linear or Mercator was selected [100]. By
420
419
default, the projected grid will be of the same size (rows and
421
- columns) as the input file. Specify *i* to use the PostScript image
422
- operator to interpolate the image at the device resolution.
420
+ columns) as the input file. Specify **i** to use the PostScript
421
+ image operator to interpolate the image at the device resolution.
423
422
bit_color : str
424
423
``color[+b|f]``.
425
424
This option only applies when a resulting 1-bit image otherwise
@@ -433,13 +432,14 @@ def grdimage(self, grid, **kwargs):
433
432
Give the name of a grid file with intensities in the (-1,+1) range,
434
433
or a constant intensity to apply everywhere (affects the ambient
435
434
light). Alternatively, derive an intensity grid from the input data
436
- grid via a call to `grdgradient`; append **+aazimuth**, **+nargs**,
437
- and **+mambient** to specify azimuth, intensity, and ambient
438
- arguments for that module, or just give **+d** to select the
439
- default arguments (``+a-45+nt1+m0``). If you want a more specific
440
- intensity scenario then run `grdgradient` separately first. If we
441
- should derive intensities from another file than grid, specify the
442
- file with suitable modifiers [Default is no illumination].
435
+ grid via a call to `grdgradient`; append **+a** \\ *azimuth*,
436
+ **+n** \\ *args*, and **+m** \ *ambient* to specify azimuth,
437
+ intensity, and ambient arguments for that module, or just give
438
+ **+d** to select the default arguments (``+a-45+nt1+m0``). If you
439
+ want a more specific intensity scenario then run `grdgradient`
440
+ separately first. If we should derive intensities from another file
441
+ than grid, specify the file with suitable modifiers [Default is no
442
+ illumination].
443
443
{J}
444
444
monochrome : bool
445
445
Force conversion to monochrome image using the (television) YIQ
0 commit comments