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