| Line 22... |
Line 22... |
| 22 |
The new page is painted with the background colour
|
22 |
The new page is painted with the background colour
|
| 23 |
(\code{\link{par}("bg")}), which is often transparent. For devices
|
23 |
(\code{\link{par}("bg")}), which is often transparent. For devices
|
| 24 |
with a \emph{canvas} colour (the on-screen devices \code{X11},
|
24 |
with a \emph{canvas} colour (the on-screen devices \code{X11},
|
| 25 |
\code{windows} and \code{quartz}), the window is first painted with the
|
25 |
\code{windows} and \code{quartz}), the window is first painted with the
|
| 26 |
canvas colour and then the background colour.
|
26 |
canvas colour and then the background colour.
|
| 27 |
|
27 |
|
| 28 |
There are two hooks called \code{"before.plot.new"} and
|
28 |
There are two hooks called \code{"before.plot.new"} and
|
| 29 |
\code{"plot.new"} (see \code{\link{setHook}}) called immediately
|
29 |
\code{"plot.new"} (see \code{\link{setHook}}) called immediately
|
| 30 |
before and after advancing the frame. The latter is used
|
30 |
before and after advancing the frame. The latter is used
|
| 31 |
in the testing code to annotate the new page. The hook function(s) are
|
31 |
in the testing code to annotate the new page. The hook function(s) are
|
| 32 |
called with no argument. (If the value is a character string,
|
32 |
called with no argument. (If the value is a character string,
|