powered by
Calls layout using atomic arguments and convenient defaults, mainly to be included in generic.process design files.
layout
generic.process
multiplot(nrow, ncol, widths = rep.int(1, ncol), heights = rep.int(1, nrow), indexes = 1:(nrow * ncol), byrow = FALSE, respect = FALSE, cex = 1)
Invisibly returns TRUE on success.
TRUE
Single integer value, the amount of rows into which divide the screen for multiple plots.
Single integer value, the amount of columns into which divide the screen for multiple plots.
To be passed to layout.
Integer vector, the ordering of plots while building the mat matrix for layout.
mat
Single logical value, whether to fill the mat matrix for layout with indexes by row or by column.
indexes
Single numeric value, if not NA par will be called to force this value, as large layout automatically change it.
NA
par
Sylvain Mareschal
multiplot(nrow=1, ncol=3, widths=c(1,2,2)) plot(1:5) plot(1:5) plot(1:5)
Run the code above in your browser using DataLab