db.plot {RGeostats} | R Documentation |
Graphic representation of a db-class
.
db.plot(x, ..., pos.x=1, pos.y=2, name=NA, name.image=NA, name.contour=NA, name.persp=NA, name.line=NA, name.prop=NA, name.literal=NA, name.post=NA, name.color=NA, flag.aspoint = FALSE, ref = NA, coast = NA, flag.grad=FALSE, flag.tgte=FALSE, flag.dip = FALSE,flag.mima=FALSE, flag.proj = TRUE, flag.sphdecor = FALSE, flag.norotate=FALSE, flag.log10=FALSE, flag.geo=NA,box=TRUE, xlab = "", ylab = "", zlab = "", xlim = NA, ylim = NA, nfacies = 0, title = NA, add = FALSE,reset=TRUE)
x |
|
... |
Arguments passed for other function (see Details). |
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. |
name |
Generic name of the variable to be represented (See details). |
name.image |
Name of the variable used for the image representation or NA if not. Only used for grid Db. |
name.contour |
Name of the variable used for the contour representation or NA if not. Only used for grid Db. |
name.persp |
Name of the variable used for the perspective representation or NA if not. Only used for grid Db. |
name.line |
Name of the variable used for the 1-D line representation or NA if not. Only used for 1-D grid Db. |
name.prop |
Name of the variable used for the proportional representation or NA if not. |
name.literal |
Name of the variable used for the literal representation or NA if not. |
name.post |
Name of the variable used for the posting representation or NA if not. |
name.color |
Name of the variable used for the color representation or NA if not. In this representation, each sample is represented as a symbol whose color is related to the variable displayed. |
flag.aspoint |
Specifies a Point representation if TRUE. This flag is only valid if the data is organized as a grid and is ignored otherwise. |
ref |
Definition of the reference corner point contained in the slice represented for grid Db. These coordinates are defined in grid mesh units (starting from 1). |
coast |
Optional name of the file containing the Coast line to be represented. Possible name could be "world". |
flag.grad |
When TRUE, the gradients are represented |
flag.tgte |
When TRUE, the tangents are represented |
flag.dip |
When TRUE, the dips are represented |
flag.mima |
When TRUE, the (lower and upper) bounds are represented. |
flag.proj |
When TRUE, the projection (if defined) is applied. Otherwise, the projection is ignored. Ignoring the projection makes sense, for example, when a projection is defined and if the data set to be plotted is defined in the already projected space. |
flag.sphdecor |
When TRUE, the decoration of the Sphere are displayed. For details,
see |
flag.norotate |
When the |
flag.log10 |
Transform data in Log scale (Base 10) |
flag.geo |
When TRUE, the value of the y/x aspect ratio ('asp') - if not
defined by the user - is loaded from the Global Parameter.
For more details, check |
box |
When TRUE, the box around the plotted area is plotted When FALSE, the box is not plotted. This property is essential for the perspective view. |
xlab |
Name of the label along the X-axis |
ylab |
Name of the label along the Y-axis |
zlab |
Name of the label along the Z-axis (used for RGL perspective view) |
xlim |
Array giving the minimum and maximum along the horizontal graphic axis |
ylim |
Array giving the minimum and maximum along the vertical graphic axis |
nfacies |
When nfacies is set to a positive value, it indicates that the values to be represented correspond to indices in the color map. This option triggers the necessary bounds to be passed to the subsequent representation modules and overwrites your initial argument values (boundmin and boundmax). As a consequence, any value lying outside the interval [1,nfacies] will not be represented. |
title |
A character string representing the title. If not provided, the title is generated automatically with the name of the displayed variable. |
add |
TRUE to overlay on the previous contents of graphic; FALSE otherwise |
reset |
When TRUE, the screen is erased before the plot is performed. |
The user may specify both the variable name and the type of representation using one of the name.'action' identifiers. If no variable is selected by this means, the generic variable (specified using the 'name' argument) is represented using the default representation mode.
The default representation mode and variable (if not defined) follows the following rule:
If a variable with a locator "z1" is defined, this variable is used; otherwise the variable with locator "rank" is used.
If the Db is a Grid, this variable is displayed using the "image" representation mode. If the Db is a set of isolated points, this variable is displayed using the "proportion" representation mode.
The arguments passed through ... may be used by one of the following functions called internally:
For dimensioning the window: define.scenes
For representing information on Points: draw.point
For representing information on Grid: draw.grid
For representing information on Lines: draw.line
For draw.coast
or draw.sphdecor
For title