The R Project SVN R

Rev

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

Rev 59039 Rev 61433
Line 25... Line 25...
25
    that the grab will not faithfully represent the
25
    that the grab will not faithfully represent the
26
    original scene.
26
    original scene.
27
  }
27
  }
28
  \item{wrap}{ A logical indicating how the output should
28
  \item{wrap}{ A logical indicating how the output should
29
    be captured. If \code{TRUE}, each non-grob element on the
29
    be captured. If \code{TRUE}, each non-grob element on the
30
    display list is captured by wrapping it in a grob.  
30
    display list is captured by wrapping it in a grob.
31
  }
31
  }
32
  \item{\dots}{ arguments passed to gTree, for example, a
32
  \item{\dots}{ arguments passed to gTree, for example, a
33
    name and/or class for the gTree that is created.}
33
    name and/or class for the gTree that is created.}
34
}
34
}
35
\details{
35
\details{
36
  There are four ways to capture grid output as a gTree.
36
  There are four ways to capture grid output as a gTree.
37
  
37
 
38
  There are two functions for capturing output:
38
  There are two functions for capturing output:
39
  use \code{grid.grab} to capture an existing drawing
39
  use \code{grid.grab} to capture an existing drawing
40
  and \code{grid.grabExpr} to capture the output from
40
  and \code{grid.grabExpr} to capture the output from
41
  an expression (without drawing anything).
41
  an expression (without drawing anything).
42
  
42
 
43
  For each of these functions, the output can be captured in
43
  For each of these functions, the output can be captured in
44
  two ways.  One way tries to be clever and make a
44
  two ways.  One way tries to be clever and make a
45
  gTree with a childrenvp slot containing all viewports on
45
  gTree with a childrenvp slot containing all viewports on
46
  the display list (including those
46
  the display list (including those
47
  that are popped) and every
47
  that are popped) and every