5 |
pdel |
1 |
\name{bdopen}
|
|
|
2 |
\alias{bdopen}
|
|
|
3 |
%- Also NEED an '\alias' for EACH other topic documented here.
|
27 |
pdel |
4 |
\title{A graphics device overlayer}
|
5 |
pdel |
5 |
\description{
|
27 |
pdel |
6 |
A function that opens relevant the relevant device based on "file",
|
|
|
7 |
either applied with bdp() or as an argument.
|
5 |
pdel |
8 |
}
|
|
|
9 |
\usage{
|
27 |
pdel |
10 |
bdopen(file=bdp()$file,paper=bdp()$paper,mfrow=bdp()$mfrow,scale=TRUE)
|
5 |
pdel |
11 |
}
|
|
|
12 |
%- maybe also 'usage' for other objects documented here.
|
|
|
13 |
\arguments{
|
27 |
pdel |
14 |
\item{file}{An optional character string denoting the file to which
|
|
|
15 |
graphics will be written if it has one of "ps, eps, pdf, jpg, jpeg"
|
|
|
16 |
as ending. If file does not have one of these endings, graphics are
|
|
|
17 |
written to the X11 driver (which only works on systems using X11,
|
|
|
18 |
i.e. Linux, Solaris, some BSD, etc.)}
|
|
|
19 |
\item{paper}{What paper standard to write for. Currently,
|
|
|
20 |
"a4","a4.half","b5","b5.half", and "a4.word" are implemented. This
|
|
|
21 |
can also be applied with bdp().}
|
|
|
22 |
\item{mfrow}{See ?par}
|
|
|
23 |
\item{scale}{Only relevant if writing to screen. If TRUE, device will
|
|
|
24 |
be scaled to double size. Notice however, that currently only the
|
|
|
25 |
device itself is scaled, not the contents.}
|
5 |
pdel |
26 |
}
|
35 |
pdel |
27 |
\details{The accepted inputs to \code{bdopen} must be set before or in
|
|
|
28 |
the function call. It has no effect changing them once
|
|
|
29 |
\code{bdopen} has been called.
|
|
|
30 |
}
|
27 |
pdel |
31 |
\references{SVN: http://svn.imm.dtu.dk/svn/bdplot/bdgraphics}
|
|
|
32 |
\author{Peder Bacher, Philip Delff}
|
|
|
33 |
\seealso{bdgraphics, bdp, bdplot, bddev.off}
|
5 |
pdel |
34 |
\examples{
|
61 |
pdel |
35 |
## bdp(file="example.ps")
|
27 |
pdel |
36 |
bdopen()
|
61 |
pdel |
37 |
x <- -10:10
|
|
|
38 |
bdplot(x, x^2)
|
27 |
pdel |
39 |
bddev.off()
|
5 |
pdel |
40 |
}
|
27 |
pdel |
41 |
\keyword{iplot}
|