The R Project SVN R

Rev

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

Rev 26693 Rev 27669
Line 46... Line 46...
46
  \code{\link{viewport}}
46
  \code{\link{viewport}}
47
}
47
}
48
 
48
 
49
\examples{
49
\examples{
50
grid.newpage()
50
grid.newpage()
51
x <- runif(20)
51
x <- stats::runif(20)
52
y <- runif(20)
52
y <- stats::runif(20)
53
rot <- runif(20, 0, 360)
53
rot <- stats::runif(20, 0, 360)
54
grid.text("SOMETHING NICE AND BIG", x=x, y=y, rot=rot,
54
grid.text("SOMETHING NICE AND BIG", x=x, y=y, rot=rot,
55
          gp=gpar(fontsize=20, col="grey"))
55
          gp=gpar(fontsize=20, col="grey"))
56
grid.text("SOMETHING NICE AND BIG", x=x, y=y, rot=rot,
56
grid.text("SOMETHING NICE AND BIG", x=x, y=y, rot=rot,
57
          gp=gpar(fontsize=20), check=TRUE)
57
          gp=gpar(fontsize=20), check=TRUE)
58
grid.newpage()
58
grid.newpage()