pdfA4plot_on: pdfA4plot_on

Description Usage Arguments Examples

Description

Create A4 PDFs to plot multiple subplots in one file

Usage

1
2
3
pdfA4plot_on(pname = date(), ..., w = UnlessSpec("b.defSize.fullpage",
  8.27), h = 11.69, rows = 4, cols = rows - 1, one_file = T,
  mdlink = ww.set.mdlink(), title = ww.ttl_field(pname))

Arguments

pname

Title of the plot (main parameter) and also the name of the file.

...

Pass any other parameter of the corresponding plotting function (most of them should work).

w

Width of the saved pdf image, in inches. c("A4" = 8.27, "1col.nature" = 3.50, "2col.nature" = 7.20, "1col.cell" = 3.35, "1.5col.cell" = 4.49, "2col.cell" = 6.85).

h

Height of the saved pdf image, in inches.

rows

Number of rows for subplots

cols

Number of columns for subplots

one_file

Allows multiple figures in one file, if true (default). Set to FALSE to use with pheatmap / grid.base

mdlink

Insert a .pdf and a .png image link in the markdown report, set by "path_of_report".

title

Manually set the title field of the PDF file

Examples

1
pdfA4plot_on();  hist(rnorm(100)); hist(-rnorm(100)); hist(10+rnorm(100)); pdfA4plot_off()

vertesy/MarkdownReports.v2.9.5 documentation built on May 22, 2019, 4 p.m.