The R Project SVN R

Rev

Rev 59039 | Rev 64662 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61433
Line 12... Line 12...
12
}
12
}
13
\usage{
13
\usage{
14
grid.show.layout(l, newpage=TRUE, bg = "light grey",
14
grid.show.layout(l, newpage=TRUE, bg = "light grey",
15
             cell.border = "blue", cell.fill = "light blue",
15
             cell.border = "blue", cell.fill = "light blue",
16
             cell.label = TRUE, label.col = "blue",
16
             cell.label = TRUE, label.col = "blue",
17
             unit.col = "red", vp = NULL) 
17
             unit.col = "red", vp = NULL)
18
}
18
}
19
\arguments{
19
\arguments{
20
  \item{l}{A Grid layout object.}
20
  \item{l}{A Grid layout object.}
21
  \item{newpage}{A logical value indicating whether to move on
21
  \item{newpage}{A logical value indicating whether to move on
22
    to a new page before drawing the diagram.}
22
    to a new page before drawing the diagram.}
Line 50... Line 50...
50
  \code{\link{viewport}},
50
  \code{\link{viewport}},
51
  \code{\link{grid.layout}}
51
  \code{\link{grid.layout}}
52
}
52
}
53
 
53
 
54
\examples{
54
\examples{
55
## Diagram of a simple layout 
55
## Diagram of a simple layout
56
grid.show.layout(grid.layout(4,2,
56
grid.show.layout(grid.layout(4,2,
57
                     heights=unit(rep(1, 4),
57
                     heights=unit(rep(1, 4),
58
                                  c("lines", "lines", "lines", "null")),
58
                                  c("lines", "lines", "lines", "null")),
59
                     widths=unit(c(1, 1), "inches")))
59
                     widths=unit(c(1, 1), "inches")))
60
}
60
}