Specialized method to print the ggmatrix object.

ggmatrix_gtable(
  pm,
  ...,
  progress = NULL,
  progress_format = formals(ggmatrix_progress)$format
)

Arguments

pm

ggmatrix object to be plotted

...

ignored

progress, progress_format

Please use the 'progress' parameter in your ggmatrix-like function. See ggmatrix_progress for a few examples. These parameters will soon be deprecated.

Author

Barret Schloerke

Examples

data(tips)
pm <- ggpairs(tips, c(1, 3, 2), mapping = ggplot2::aes(color = sex))
ggmatrix_gtable(pm)
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> TableGrob (17 x 14) "layout": 36 grobs
#>     z         cells       name                                    grob
#> 1   0 ( 1-17, 1-14) background       rect[plot.background..rect.40579]
#> 2   1 ( 8- 8, 5- 5)  panel-1-1                          gtable[layout]
#> 3   1 (10-10, 5- 5)  panel-2-1                          gtable[layout]
#> 4   1 (12-12, 5- 5)  panel-3-1                          gtable[layout]
#> 5   1 ( 8- 8, 7- 7)  panel-1-2                          gtable[layout]
#> 6   1 (10-10, 7- 7)  panel-2-2                          gtable[layout]
#> 7   1 (12-12, 7- 7)  panel-3-2                          gtable[layout]
#> 8   1 ( 8- 8, 9- 9)  panel-1-3                          gtable[layout]
#> 9   1 (10-10, 9- 9)  panel-2-3                          gtable[layout]
#> 10  1 (12-12, 9- 9)  panel-3-3                          gtable[layout]
#> 11  3 ( 6- 6, 5- 5)   axis-t-1                          zeroGrob[NULL]
#> 12  3 ( 6- 6, 7- 7)   axis-t-2                          zeroGrob[NULL]
#> 13  3 ( 6- 6, 9- 9)   axis-t-3                          zeroGrob[NULL]
#> 14  3 (13-13, 5- 5)   axis-b-1                          gtable[layout]
#> 15  3 (13-13, 7- 7)   axis-b-2                          gtable[layout]
#> 16  3 (13-13, 9- 9)   axis-b-3                          gtable[layout]
#> 17  3 ( 8- 8, 4- 4)   axis-l-1                          gtable[layout]
#> 18  3 (10-10, 4- 4)   axis-l-2                          gtable[layout]
#> 19  3 (12-12, 4- 4)   axis-l-3                          gtable[layout]
#> 20  3 ( 8- 8,11-11)   axis-r-1                          zeroGrob[NULL]
#> 21  3 (10-10,11-11)   axis-r-2                          zeroGrob[NULL]
#> 22  3 (12-12,11-11)   axis-r-3                          zeroGrob[NULL]
#> 23  2 ( 7- 7, 5- 5)  strip-t-1                           gtable[strip]
#> 24  2 ( 7- 7, 7- 7)  strip-t-2                           gtable[strip]
#> 25  2 ( 7- 7, 9- 9)  strip-t-3                           gtable[strip]
#> 26  2 ( 8- 8,10-10)  strip-r-1                           gtable[strip]
#> 27  2 (10-10,10-10)  strip-r-2                           gtable[strip]
#> 28  2 (12-12,10-10)  strip-r-3                           gtable[strip]
#> 29  4 ( 5- 5, 5- 9)     xlab-t                          zeroGrob[NULL]
#> 30  5 (14-14, 5- 9)     xlab-b                          zeroGrob[NULL]
#> 31  6 ( 8-12, 3- 3)     ylab-l                          zeroGrob[NULL]
#> 32  7 ( 8-12,12-12)     ylab-r                          zeroGrob[NULL]
#> 33  8 ( 4- 4, 5- 9)   subtitle zeroGrob[plot.subtitle..zeroGrob.40575]
#> 34  9 ( 3- 3, 5- 9)      title    zeroGrob[plot.title..zeroGrob.40574]
#> 35 10 (15-15, 5- 9)    caption  zeroGrob[plot.caption..zeroGrob.40577]
#> 36 11 ( 2- 2, 2- 2)        tag      zeroGrob[plot.tag..zeroGrob.40576]