Skip to content
Prev 378290 / 398502 Next

large number of scrollable histograms....

Another alternative is to use ggplot2 to create the various plots, then put
them into
a list and use cowplot::plot_grid to plot the grid of plots with a
specified number of
rows and columns. Here's some pseudo code to give you the general idea

Step 1: generate the plots and put them into a list
for ( i in 1:(nrow*ncol) )
   pL[[ i ]] <- ggplot( ... )

Step 2: display the plots in a grid
print( cowplot::plot_grid( plotlist=pL, nrow=nrow, ncol=ncol ) )
On Tue, Jan 22, 2019 at 3:49 PM PIKAL Petr <petr.pikal at precheza.cz> wrote: