The R Project SVN R

Rev

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

Rev 27625 Rev 27931
Line 63... Line 63...
63
}
63
}
64
\seealso{
64
\seealso{
65
  \code{\link{par}} with arguments \code{mfrow}, \code{mfcol}, or
65
  \code{\link{par}} with arguments \code{mfrow}, \code{mfcol}, or
66
  \code{mfg}.
66
  \code{mfg}.
67
}
67
}
-
 
68
\section{Warnings}{
-
 
69
  These functions are totally incompatible with the other mechanisms for
-
 
70
  arranging plots on a device: \code{\link{par}(mfrow)},
-
 
71
  \code{par(mfcol)} and \code{\link{split.screen}}.
-
 
72
}
68
\examples{
73
\examples{
69
def.par <- par(no.readonly = TRUE)# save default, for resetting...
74
def.par <- par(no.readonly = TRUE) # save default, for resetting...
70
 
75
 
71
## divide the device into two rows and two columns
76
## divide the device into two rows and two columns
72
## allocate figure 1 all of row 1
77
## allocate figure 1 all of row 1
73
## allocate figure 2 the intersection of column 2 and row 2
78
## allocate figure 2 the intersection of column 2 and row 2
74
layout(matrix(c(1,1,0,2), 2, 2, byrow = TRUE))
79
layout(matrix(c(1,1,0,2), 2, 2, byrow = TRUE))