R/Margins

From QERM Wiki
Jump to: navigation, search

Borrowing a figure from the R Graphics Gallery, a plot has margins and outer margins that can be set in a call to par(). In the case of a multiple panel plot, the margins (set by mar) will be applied to each panel, while the outer-margin area (set by oma) will be applied only to the outer edges. The order for setting margins is always clockwise starting at the bottom.

Margins.gif

Personal tools