draw.gradient {RGeostats}R Documentation

Represent the gradients

Description

Internal function for representing the gradient components

Usage

draw.gradient(x, y, elev, gx, gy, grad.size = 1.,
              flag.normal=TRUE, flag.grad.pt=TRUE, ...)

Arguments

x

Array giving the coordinates of the samples along X

y

Array giving the coordinates of the samples along Y

elev

Array giving the values of the samples (only used for RGL representation)

gx

Array giving the gradient components of the samples along X

gy

Array giving the gradient components of the samples along Y

grad.size

Scale factor to convert a gradient unit into a field unit.

flag.normal

When TRUE, the normal is represented. When FALSE, the tangent is represented

flag.grad.pt

When TRUE, the location of the information is represented.

...

Other parameters passed to function segments or points

Details

When all dimensions of the gradient are zero, the sample is represented using the characteristics provided by the user, but with a pattern representation fixed to pch=10.


[Package RGeostats version 14.0.10 Index]