R/Margins

From QERM Wiki
(Difference between revisions)
Jump to: navigation, search
Gregor (Talk | contribs)
(Created page with "Borrowing a figure from the [http://research.stowers-institute.org/efg/R/Graphics/Basics/mar-oma/index.htm R Graphics Gallery], a plot has margins and outer margins that can be s...")

Latest revision as of 23:27, 30 August 2011

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