File: gtable_add_grob.Rd

package info (click to toggle)
r-cran-gtable 0.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 280 kB
  • sloc: sh: 8; makefile: 5
file content (40 lines) | stat: -rw-r--r-- 1,385 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add-grob.r
\name{gtable_add_grob}
\alias{gtable_add_grob}
\title{Add a single grob, possibly spanning multiple rows or columns.}
\usage{
gtable_add_grob(x, grobs, t, l, b = t, r = l, z = Inf, clip = "on",
  name = x$name)
}
\arguments{
\item{x}{a \code{\link{gtable}} object}

\item{grobs}{a single grob or a list of grobs}

\item{t}{a numeric vector giving the top extent of the grobs}

\item{l}{a numeric vector giving the left extent of the grobs}

\item{b}{a numeric vector giving the bottom extent of the grobs}

\item{r}{a numeric vector giving the right extent of the grobs}

\item{z}{a numeric vector giving the order in which the grobs should be
 plotted.  Use \code{Inf} (the default) to plot above or \code{-Inf}
 below all existing grobs. By default positions are on the integers, 
giving plenty of room to insert new grobs between existing grobs.}

\item{clip}{should drawing be clipped to the specified cells
(\code{"on"}), the entire table (\code{"inherit"}), or not at all 
(\code{"off"})}

\item{name}{name of the grob - used to modify the grob name before it's
plotted.}
}
\description{
This only adds grobs into the table - it doesn't affect the table in 
any way.  In the gtable model, grobs always fill up the complete table
cell.  If you want custom justification you might need to
}