A four-columns matrix indicating the coordinates (in normalized parent coordinates npc)
of the top-right and bottom-left hand corners of each displayed figure on the device.
Arguments
mat
a matrix indicating the location of figures to display
(each value must be 0 or a positive integer) or a two-length vector indicating the number of rows
and columns in the corresponding layout.
widths
a vector of relative values for the columns' widths on the device. Their sum must be equal to the number of columns.
heights
a vector of relative values for the rows' heights on the device. Their sum must be equal to the number of rows.
ng
a value for the number of positions needed (i.e. the number of graphics to plot)
square
a logical indicating if the graphics is an isometric plot