NPlotsLayout: Layouts

Description Usage Arguments Functions Examples

Description

Different layouts for different plots

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
NPlotsLayout(n, withTitleSpace = FALSE)

Layout0()

Layout2(title = 0)

Layout6(title = 0)

Layout12(title = 0)

LayoutNarrow()

Arguments

title

Create a space for titles. 2 for ylab, 3 or for main.

Functions

Examples

1
2
3
4
5
6
7
8
  NPlotsLayout(5)
  for(i in 1:5)plot(rnorm(100), type="l", ylab=i)

  Layout12(2)
  for(i in 1:12){
    plot(rnorm(10), type="l", ylab=i, axes=FALSE)
    box(fg = gray(0.5)); axis(2, fg = gray(0.5), col=gray(0.5))
  }

einaooka/tea.eo.plots documentation built on May 16, 2019, 1:25 a.m.