plotCoords

0th

Percentile

API for defining data coordinates of a plot

Given a call to a plot function, return the data coordinates.

Keywords
dplot
Usage
plotCoords(name, object, call, envir, ...)
"plotCoords"(name, object, call, envir, data, panel.args, ...)
"plotCoords"(name, object, call, envir, ...) "plotCoords"(name, object, call, envir, ...)
plotCoords.plot(name, object, call, envir, ...) "plotCoords.plot"(name, object, call, envir, data, ...) "plotCoords.plot"(name, object, call, envir, ...) "plotCoords.plot"(name, object, call, envir, ...)
plotCoords.biplot(name, object, call, envir, ...) "plotCoords.biplot"(name, object, call, envir, ...) "plotCoords.biplot"(name, object, call, envir, ...) "plotCoords.biplot"(name, object, call, envir, ...)
"plotCoords"(name, object, call, envir, panel.args, ...) "plotCoords"(name, object, call, envir, panel.args, ...) "plotCoords"(name, object, call, envir, panel.args, ...) "plotCoords"(name, object, call, envir, panel.args, packet, ...)
Arguments
name
The class of this object is the name of the plot function. Hence methods can be defined for different plot functions.
object
the object passed as first argument to the plot call.
call
the plot call.
envir
environment containing objects referenced by the call. Call arguments should be evaluated in this environment.
panel.args
passed for Lattice plots only: panel arguments for the relevant panel.
packet
passed for Lattice plots only: packet number for which to return data (corresponds to panel.args).
data
passed for non-Lattice plots only: a "data" argument, or NULL, to be used in evaluating call arguments (in addition to envir).
...
ignored.
Details

None yet...

Value

a list with components:
x, y
data point coordinates (in native panel / user coordinates).
subscripts
(optional) data point subscripts.

See Also

xyData, xy.coords

Aliases
  • plotCoords
  • plotCoords.default
  • plotCoords.qqnorm
  • plotCoords.qqplot
  • plotCoords.plot
  • plotCoords.plot.default
  • plotCoords.plot.dendrogram
  • plotCoords.plot.hclust
  • plotCoords.plot.mca
  • plotCoords.biplot
  • plotCoords.biplot.default
  • plotCoords.biplot.prcomp
  • plotCoords.biplot.princomp
  • plotCoords.qqmath
  • plotCoords.cloud
  • plotCoords.parallel
  • plotCoords.splom
  • case.names.dendrogram
  • case.names.hclust
  • case.names.prcomp
  • case.names.princomp
  • case.names.mca
  • case.names.ts
  • case.names.zoo
  • case.names.Date
  • case.names.POSIXt
  • case.names.yearmon
  • case.names.yearqtr
Examples
## Note, these are not designed to be called directly;
## they are used internally in playwith().
## But for demonstration purposes:
pargs <- trellis.panelArgs(qqmath(rnorm(20)), packet = 1)
plotCoords(structure("qqmath", class = "qqmath"),
           call = quote(qqmath(rnorm(20))), envir = new.env(),
           panel.args = pargs)
Documentation reproduced from package playwith, version 0.9-54, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.