Learn R Programming

astrochron (version 0.4.3)

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,title)

Arguments

n
Number of plots per page (1-25). When specified, this parameter takes precedence and the default settings for r and c are used (the r and c options below 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.
title
Plot title (must be in quotes)