mesh.plot {RGeostats}R Documentation

Represent a set of meshes

Description

Represent a set of meshes

Usage

mesh.plot(mesh, flag.point = 0,flag.mesh = 1, flag.fill=FALSE,
          flag.border=TRUE,
          flag.init=TRUE, highs = NA, nech.init=0, 
          cex.init=1, col.init="black", pch.init=19,
          col.mesh="blue", col.point="black", col.line="red",
          pos.x=1, pos.y=2, pos.z=3, title=NA, xlab=NA, ylab=NA,
          flag.sphdecor = FALSE, add=FALSE, reset=TRUE, ...)

Arguments

mesh

A mesh-class object.

flag.point

Representation of the mesh vertices:

  • 0 Not represented

  • 1 Represented by a symbol

  • -1 Represented together with their number

flag.mesh

Representation of the meshes:

  • 0 Not represented

  • 1 Represented by a symbol

  • -1 Represented together with their number

flag.fill

When TRUE, the polygons representing the meshes are filled. The color is calculated automatically depending on the mesh status or is provided using the 'col.mesh' argument.

flag.border

When TRUE, the edges of the meshes are represented

flag.init

When TRUE, the initial data used for meshing are highlighted with symbols whose characteristics are given by '*.init' arguments. They correspond to the first 'nech.init' samples in the input array 'points'.

highs

Array giving the list of the meshes to be highlighted. In the case of tetrahedra, each triangular facet is plotted with a different color (these colors are drawn at random within the whole lsit of colors).

nech.init

Number of points (located at the first ranks of the output array 'points' which correspond to conditioning data.

cex.init,col.init,pch.init

Size, Color and Representation Type used for the points located at initial data points. These specific representations are switched ON only when nech.init is positive.

col.mesh

Array of colors attached to each mesh. This array must be dimensionned to the number of meshes.

col.point

Array of colors attached to each point. This array must be dimensionned to the number of points.

col.line

Color used to represent the borders (used only when 'flag.border' is switched ON).

pos.x

Index of the field used for abcissae. If positive, the axis is oriented from left to right. If negative, the axis is oriented from right to left.

pos.y

Index of the field for the ordinate. If positive, the axis is oriented from bottom to top. If negative, the axis is oriented from top to bottom.

pos.z

Index of the field for the third coordinate.

title

Title given to the figure (if provided)

xlab

Name of the label along the X-axis

ylab

Name of the label along the Y-axis

flag.sphdecor

When TRUE, the decoration of the Sphere are displayed. For details, see draw.sphdecor. This option is valid only when the Spherical Variety is switch ON.

add

TRUE to overlay on the previous contents of graphic; FALSE otherwise

reset

When TRUE, the screen is erased before the plot is performed.

...

Additional arguments passed to the graphic primitives such as polygon, segments, points and text.


[Package RGeostats version 14.0.10 Index]