Search notes:

R function: par

Each device has its own set of graphical parameters.
par() can be used to set or query them.
#
#   For the «mfrow» parameter, see
#       ../examples/graphs/cobining-plots-par.R
#

# Query «mar» parameter:

par()['mar']
# [1] 5.1 4.1 4.1 2.1
Github repository about-r, path: /functions/par.R
par() (without arguments) returns a (named) list, which allows to see all(?) possible parameter values of a device:
> sort(names(par()))
adj Justification of text(), mtext() and title()
ann Boolean that specifies annotations (plot.default). Default is TRUE.
ask In interactive sessions and when set to TRUE, the user is asked for input before a graph is drawn. Deprecated in favor of devAskNewPage().
bg, fg, col Background color, foreground color, default color.
bty A character string that specifies the type of the box that is drawn around plots. Possible values seem to be o (default), 1, 7, c, u, ] or n. n suppresses the box.
cex, cex.axis, cex.lab, cex.main, cex.sub Magnifying factor for text/symbols, axis annotations, labels, main titles and sub titles.
cin, cra Read-only character size (width, height) in inches (cin) or pixels (cra). cra apparently stands for raster. See also csi
col.axis, col.lab, col.main, col.sub Color for axis annotations, x/y labels, main titles and sub titles.
crt Rotation (degrees) of characters
csi Read-only height of characters in inches (same as par('cin')[2])
cxy
din Device dimensions in inches, read-only.
err Not implemented.
family Font family. Values might be serif, sans, mono or one of the Hershey vector fonts.
fg
fig
fin
font
font.axis
font.lab
font.main
font.sub
lab
las A numeric value that controls the orientation of the tick mark labels and any other text added to a plot after its initialization
lend
lheight
ljoin
lmitre
lty Line type
lwd Line width
mai, mar A numeric vector of length 4 that corresponds to a graphic's margin (bottom, left, top, right). Units of mar: margin lines, of mai: inches
mex
mfcol
mfg
mfrow
mgp A numeric vector of length 3 hat corresponds to an axis label location relative to the edge of an inner plot
mkh
new
oma, omi Outer margins (similar to mai and mar)
omd
page A boolean that indicates if plot.new() is adding a new page.
pch Number or character that specifies the default plot-points.
pin Current plot dimensions in inches.
plt
ps Point-size of text.
pty
smo
srt
tck
tcl
usr
xaxp
xaxs
xaxt
xlog Use logarithmic scale if TRUE
xpd
yaxp
yaxs
yaxt
ylbias
ylog

See also

Index to (some) R functions

Index