R/Margins

From QERM Wiki
Revision as of 23:27, 30 August 2011 by Gregor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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