mesh.plot {RGeostats}R Documentation

Represent a set of meshes

Description

Represent a set of meshes

Usage

mesh.plot(points, meshes = NA, holes = NA, segments = NA, flag.point = 1,
          flag.holes = 1, flag.mesh = 1, flag.seg = 1, flag.fill=FALSE,
          flag.border=FALSE,
          flag.init=TRUE, highs = NA, nech.init=0, size.init=10, coltab=NA,
          col.bord="red", pos.x=1, pos.y=2, title=NA, xlab=NA, ylab=NA,
          flag.sphdecor = FALSE, add=FALSE, reset=TRUE, ...)

Arguments

points,meshes,holes,segments

Arguments resulting from the triangulation step. See check.mesh for explanations.

flag.point

Representation of the mesh vertices:

  • 0 Not represented

  • 1 Represented by a symbol

  • -1 Represented together with their number

flag.holes

Representation of the holes:

  • 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.seg

Representation of the segments:

  • 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 'coltab' 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 size is given by 'size.init'. 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 colros 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.

size.init

Size of the points located at initial data points.

coltab

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

col.bord

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.

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 11.0.6 Index]