q32vA4_grid_plot: q32vA4_grid_plot

View source: R/ggExpress.R

q32vA4_grid_plotR Documentation

q32vA4_grid_plot

Description

Plot up to 6 panels (3-by-2) on vertically standing A4 page.

Usage

q32vA4_grid_plot(
  plot_list,
  suffix = NULL,
  plotname = FixPlotName(substitute(plot_list), suffix),
  plot = FALSE,
  nrow = 3,
  ncol = 2,
  extension = c("pdf", "png")[2],
  scale = 1,
  h = hA4 * scale,
  w = wA4 * scale,
  ...
)

Arguments

plot_list

A list of ggplot objects, each of which is one panel.

suffix

A suffix added to the filename. Default: NULL

plotname

Plot name. Default: Autonaming.

plot

Show the plot? Default: F

nrow

number of rows for panels on the page. Default: 2

ncol

number of columns for panels on the page. Default: 2

extension

file extension

scale

Scaling factor of the canvas. Default: 1

h

Height of the plot. Default: wA4 * scale

w

Width of the plot. Default: hA4 * scale

...

Pass any other parameter to the internally called functions (most of them should work).

Examples

# q32vA4_grid_plot()

vertesy/ggExpress documentation built on Nov. 24, 2024, 10:44 p.m.