Subversion Repositories bdplot

Rev

Rev 37 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

\name{bdplot}
\alias{bdplot}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{A plotting overlayer}
\description{
  This is the plotting function in the bdgraphics package. It corresponds to
  plot from the graphics package but benefits from the variable sharing
  provided by the bdplot package.
}
\usage{
bdplot(x, y=NULL, z=NULL,cex.plot=bdp()$cex.plot,xaxt="n",xlab=bdp()$xlab, ylab=bdp()$ylab,xlim=range(x,bdp()$xlim,na.rm=TRUE),ylim=range(bdp()$ylim,y,na.rm=TRUE),col=bdp()$col,main=NULL,type=bdp()$type,border=bdp()$border,...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{x}{The first or only dimension to plot. May be of class
    numeric, histogram, acf, ...}
  \item{y}{ Optional second coordinate if \code{x} is numeric. If
    \code{x} is not numeric, \code{y} is ignored}
  \item{z}{Optional third coordinate. Used in image plotting.}
  The rest of the named arguments can also be set with bdp().
  \item{cex.plot}{See cex in ?plot. Size of plotting characters.}
  \item{xaxt, yaxt} In extension to the functionality provided by these
  arguments in \code{plot}, they may here also be assigned a function
  that will draw the axis with x or y, respectively, as input. If "axis"
  (as character string) is given, a special call to the axis function is
  performed. See also xaxt.in, yaxt.in.
  \item{xaxt.in, yaxt.in} If \code{xaxt} or \code{yaxt} are assigned a
  function, and this function must have something else than \code{x} or
  \code{y} respectively as input, the inputs should be assigned to
  theses options.
  \item{xlab, ylab}{See ?par. If set to NA, no label will be shown, and margin
  will be reduced (set to corresponding bdp()$mar.nolab). NULL will
  result in default labels like x, y, and Index. It is not possible to
  get the automatically generated defaul R strings. To get no label but
  margin as mar.lab use "". }
  \item{col, type, xlim, ylim}{See ?par.}
  \item{\dots}{Arguments passed to the relevant plotting function.}
}
\details{
 bdplot is a plotting wrapper which calls relevant methods depending on
  the input. 
}
\value{
Nothing is returned.
}
\references{SVN: http://svn.imm.dtu.dk/svn/bdplot/bdgraphics}
\author{Peder Bacher, Philip Delff}
%\note{
%}
\seealso{bdgraphics, bdp, bdopen, bd.devoff}
\examples{
# bdp(file="test.ps")
bdopen()
bdplot(1:10,rnorm(10))
bdpoints(1:10,rnorm(10),col=2)
bd.devoff()
  }

% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{hplot}