db.plot {RGeoS}R Documentation

Display the contents of a Data Base

Description

Graphic representation of a db-class.

Usage

db.plot(x, ..., pos.x=1, pos.y=2, 
	name.image=NA, name.contour=NA, name.persp=NA,
	name.line=NA, name.prop=NA,
	name.literal=NA, name.post=NA,
	flag.aspoint = FALSE, ref = NA,
	coast = NA, flag.lonlat = FALSE, flag.labels = FALSE, 
	flag.abs = FALSE, flag.grad=FALSE, flag.proj = TRUE,
	xlab = "", ylab = "", xlim = NA, ylim = NA, nfacies = 0, title = NA,
	add = FALSE,reset=TRUE, flag.scale=FALSE, scalefactor=1)

Arguments

x

db-class to be displayed

...

Arguments passed for other function (see Details).

pos.x

Index of the field used for abcissae

pos.y

Index of the field for the ordinate

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.

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.lonlat

When TRUE, the longitude and latitude great circles are represented. Their count is close to 10, using round angle values.

flag.labels

When TRUE, the labels of the longitude and latitude great circles will be displayed.

flag.abs

When TRUE, the absolute value of the variable is represented. Only used for line and proportional representations.

flag.grad

When TRUE, the gradient are represented

flag.proj

When TRUE, the projection (if defined) is applied. Otherwise, the projection is ignored.

xlab

Name of the label along the X-axis

ylab

Name of the label along the Y-axis

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.

flag.scale

When TRUE, the two axes of the plot are represented with the same scale. Otherwise, they are computed so that the graphic automatically fills a square.

scalefactor

When flag.scale=T, this factor gives the scale ratio between the horizontal and the vertical axes. For example, when set to 2, the scale along the horizontal axes is multiplied by 2, compared as the axis along the vertical axis.

Details

If no display variable is specified, the following procedure is used: 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.

For more information on the arguments, check the functions:

See Also

plot0.line plot0.grid plot0.point


[Package RGeoS version 9.1.1 Index]