qA4_grid_plot: qA4_grid_plot

View source: R/ggExpress.R

qA4_grid_plotR Documentation

qA4_grid_plot

Description

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

Usage

qA4_grid_plot(
  plot_list,
  plotname = FixPlotName(substitute(plot_list), nrow, "by", ncol, suffix),
  suffix = NULL,
  nrow = 3,
  ncol = 2,
  plot = FALSE,
  labels = LETTERS[1:length(plot_list)],
  max.list.length = 16,
  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.

plotname

Plot name. Default: Autonaming

suffix

A suffix added to the filename. Default: NULL

nrow

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

ncol

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

plot

Show the plot? Default: F

labels

Panel labels. Default: LETTERS

max.list.length

Max number of panels (per page). Default: 16

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

# qA4_grid_plot()


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