DrawSection: DrawSection

Description Usage Arguments Details

Description

Draws a 2D section of a regularly spaced 3D object in the current rgl window.

Usage

1
2
3
4
5
DrawSection(object, ...)

## S4 method for signature 'grid3DDataFrame'
DrawSection(object, by, values, col,
  col.default = "white", x = NULL, y = NULL, z = NULL)

Arguments

by

Name of the column to show.

values, col

If by is a categorical variable, the values to show and the corresponding color. If by is a continuous variable, a numeric vector with the breakpoints and the corresponding colors.

col.default

Color to be used for NA values and values outside the range provided.

x, y, z

The coordinate to be kept fixed in order to draw the section ( will be matched to the closest corresponding coordinate in object). Only one of these must be provided.

Details

The section is drawn by keeping one coordinate fixed. For example, if x=5 is given, the section will be drawn in the yz plane.


italo-goncalves/geomod3D documentation built on May 24, 2019, 2:49 p.m.