| Line 35... |
Line 35... |
| 35 |
|
35 |
|
| 36 |
The default parameter settings are defined by the ROOT viewport, which
|
36 |
The default parameter settings are defined by the ROOT viewport, which
|
| 37 |
takes its settings from the graphics device. These defaults may
|
37 |
takes its settings from the graphics device. These defaults may
|
| 38 |
differ between devices (e.g., the default \code{fill} setting is
|
38 |
differ between devices (e.g., the default \code{fill} setting is
|
| 39 |
different for a PNG device compared to a PDF device).
|
39 |
different for a PNG device compared to a PDF device).
|
| 40 |
|
40 |
|
| 41 |
Valid parameter names are:
|
41 |
Valid parameter names are:
|
| 42 |
\tabular{ll}{
|
42 |
\tabular{ll}{
|
| 43 |
col \tab Colour for lines and borders. \cr
|
43 |
col \tab Colour for lines and borders. \cr
|
| 44 |
fill \tab Colour for filling rectangles, polygons, ... \cr
|
44 |
fill \tab Colour for filling rectangles, polygons, ... \cr
|
| 45 |
alpha \tab Alpha channel for transparency \cr
|
45 |
alpha \tab Alpha channel for transparency \cr
|
| Line 58... |
Line 58... |
| 58 |
}
|
58 |
}
|
| 59 |
For more details of many of these, see the help for the corresponding
|
59 |
For more details of many of these, see the help for the corresponding
|
| 60 |
graphical parameter \code{\link{par}} in base graphics. (This may
|
60 |
graphical parameter \code{\link{par}} in base graphics. (This may
|
| 61 |
have a slightly different name, e.g. \code{lend}, \code{ljoin},
|
61 |
have a slightly different name, e.g. \code{lend}, \code{ljoin},
|
| 62 |
\code{lmitre}, \code{family}.)
|
62 |
\code{lmitre}, \code{family}.)
|
| 63 |
|
63 |
|
| 64 |
Colours can be specified in one of the forms returned by
|
64 |
Colours can be specified in one of the forms returned by
|
| 65 |
\code{\link{rgb}}, as a name (see \code{\link{colors}}) or as a
|
65 |
\code{\link{rgb}}, as a name (see \code{\link{colors}}) or as a
|
| 66 |
non-negative integer index into the current \link{palette} (with zero
|
66 |
non-negative integer index into the current \link{palette} (with zero
|
| 67 |
being taken as transparent). (Prior to \R 3.0.0 negative integer
|
67 |
being taken as transparent). (Prior to \R 3.0.0 negative integer
|
| 68 |
values were allowed and taken as transparent: they are now an error.)
|
68 |
values were allowed and taken as transparent: they are now an error.)
|
| 69 |
|
69 |
|
| 70 |
The \code{alpha} setting is combined with the alpha channel for
|
70 |
The \code{alpha} setting is combined with the alpha channel for
|
| 71 |
individual colours by multiplying (with both alpha settings
|
71 |
individual colours by multiplying (with both alpha settings
|
| 72 |
normalised to the range 0 to 1).
|
72 |
normalised to the range 0 to 1).
|
| 73 |
|
73 |
|
| 74 |
The size of text is \code{fontsize}*\code{cex}. The size of a line
|
74 |
The size of text is \code{fontsize}*\code{cex}. The size of a line
|