draw.gradient {RGeostats}R Documentation

Represent the gradients

Description

Internal function for representing the gradient components

Usage

draw.gradient(x, y, gx, gy, col="black", gsize = 1.,  opt.grad=1, ...)

Arguments

x

Array giving the coordinates of the samples along X

y

Array giving the coordinates of the samples along Y

gx

Array giving the gradient components of the samples along X

gy

Array giving the gradient components of the samples along Y

col

Color assigned to the Gradient representation

gsize

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

opt.grad

Type of representation:

  • 1 Arrows

  • 2 Segments representing the gradient direction and length

...

Other parameters passed to function arrows 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 11.0.6 Index]