Description Usage Arguments Examples
Create A4 PDFs to plot multiple subplots in one file with custom numbers of columns in each row
1 2 3 4 | pdfA4plot_on.layout(pname = date(), ...,
w = UnlessSpec("b.defSize.fullpage", 8.27), h = 11.69,
layout_mat = rbind(1, c(2, 3), 4:5), one_file = T,
mdlink = ww.set.mdlink(), title = ww.ttl_field(pname))
|
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. |
h |
Height of the saved pdf image, in inches. |
layout_mat |
A matrix of plot layout. Default: rbind(1, c(2, 3), 4:5) |
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 |
1 | pdfA4plot_on.layout(); hist(rnorm(100)); hist(-rnorm(100)); hist(10+rnorm(100)); pdfA4plot_off()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.