plot_grob_matrix {ggplot} | R Documentation |
Take a matrix of grobs and edit them so that their viewport name
plot_grob_matrix(gm, type=deparse(substitute(gm)))
gm |
matrix of grobs to position |
type |
viewport type to position them in |
This provides a convenient way of converting a matrix of grobs
(as produced by stamp
) into the equivalent
visual representation. Assumes that there are viewports named
type_1_1
, type_1_2
, ..., type_nrow_ncol
.
Hadley Wickham <h.wickham@gmail.com>