draw.image {RGeostats}R Documentation

Raster representation for a Grid

Description

Raster representation for a Grid

Usage

draw.image(grid, x, y, z, pos.x = 1, pos.y = 2, zlim = NA, col = NA,
           boundmin = NA, boundmax = NA, extend.colors=FALSE,
					 pos.legend = 0, ...)

Arguments

grid

The db-class defining the Grid structure

x

Array of X-coordinates of the grid

y

Array of Y-coordinates of the grid

z

Matrix containing the variable to be represented in isolines

pos.x

Index of the field used for abcissae

pos.y

Index of the field for the ordinate

zlim

The bounds for the 'image' representation

col

Color of the symbol foreground for the samples whose target variable lies within the bounds. In the case of a grid, color scale used to represent the grid.

boundmin

Minimum value to be represented

boundmax

Maximum value to be represented

extend.colors

When TRUE and if zlim has been defined, the pixels below zlim[1] (resp. above zlim[2]) are represented with the first (resp. last) color of the colors scale.

pos.legend

Position of the optional legend. See legend.locate for details.

...

Arguments passed to image and legend.image.


[Package RGeostats version 14.0.10 Index]