The R Project SVN R

Rev

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

Rev 59039 Rev 61433
Line 15... Line 15...
15
}
15
}
16
\usage{
16
\usage{
17
showGrob(x = NULL,
17
showGrob(x = NULL,
18
         gPath = NULL, strict = FALSE, grep = FALSE,
18
         gPath = NULL, strict = FALSE, grep = FALSE,
19
         recurse = TRUE, depth = NULL,
19
         recurse = TRUE, depth = NULL,
20
         labelfun = grobLabel, ...) 
20
         labelfun = grobLabel, ...)
21
}
21
}
22
\arguments{
22
\arguments{
23
  \item{x}{
23
  \item{x}{
24
    If \code{NULL}, the current grid scene is labelled.
24
    If \code{NULL}, the current grid scene is labelled.
25
    Otherwise, a grob (or gTree) to draw and then label.
25
    Otherwise, a grob (or gTree) to draw and then label.
Line 93... Line 93...
93
    library(lattice)
93
    library(lattice)
94
    # Ctrl-c after first example
94
    # Ctrl-c after first example
95
    example(histogram)
95
    example(histogram)
96
    showGrob()
96
    showGrob()
97
    showGrob(gPath="plot_01.ylab")
97
    showGrob(gPath="plot_01.ylab")
98
    
98
 
99
    library(ggplot2)
99
    library(ggplot2)
100
    # Ctrl-c after first example
100
    # Ctrl-c after first example
101
    example(qplot)
101
    example(qplot)
102
    showGrob()
102
    showGrob()
103
    showGrob(recurse=FALSE)
103
    showGrob(recurse=FALSE)