Learn R Programming

astrochron (version 0.3.1)

pl: Set Up Plots

Description

Open new device and set up for multiple plots, output to screen or PDF if desired.

Usage

pl(n,r,c,h,w,mar,file)

Arguments

n
Number of plots per page (1-25). When specified, this parameter takes precedence, and options r and c are ignored.
r
Number of rows of plots.
c
Number of columns of plots.
h
Height of new page (a.k.a. "device").
w
Width of new page (a.k.a. "device").
mar
A numerical vector of the form c(bottom, left, top, right) which gives the margin size specified in inches.
file
PDF file name, in quotes. If a file name is not designated, then the plot is output to the screen instead.