Graphical parameters Flashcards

1
Q

adj

A

controls text justification (0 left-justified, 0.5 centred, 1 right-justified)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

bg

A

specifies the colour of the background (ex. : bg=”red”, bg=”blue”, . . .
the list of the 657 available colours is displayed with colors())

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

bty

A

controls the type of box drawn around the plot, allowed values are: “o”, “l”, “7”, “c”, “u” ou “]” (the box looks like the corresponding char-
acter); if bty=”n” the box is not drawn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cex

A

a value controlling the size of texts and symbols with respect to the de-
fault; the following parameters have the same control for numbers on the axes, cex.axis, the axis labels, cex.lab, the title, cex.main, and the sub-title, cex.sub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

col

A

controls the color of symbols and lines; use color names: “red”, “blue” see colors() or as “#RRGGBB”; see rgb(), hsv(), gray(), and rainbow(); as for cex there are: col.axis, col.lab, col.main, col.sub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

font

A

an integer which controls the style of text (1: normal, 2: italics, 3: bold, 4: bold italics); as for cex there are: font.axis, font.lab, font.main, font.sub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

las

A

an integer which controls the orientation of the axis labels (0: parallel to the axes, 1: horizontal, 2: perpendicular to the axes, 3: vertical)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

lty

A

controls the type of lines, can be an integer or string (1: “solid”, 2: “dashed”, 3: “dotted”, 4: “dotdash”, 5: “longdash”, 6: “twodash”, or a string of up to eight characters (between “0” and “9”) which specifies alternatively the length, in points or pixels, of the drawn elements and the blanks, for example lty=”44” will have the same effect than lty=2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

lwd

A

a numeric which controls the width of lines, default 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

mar

A

a vector of 4 numeric values which control the space between the axes and the border of the graph of the form c(bottom, left, top,
right), the default values are c(5.1, 4.1, 4.1, 2.1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

mfcol

A

a vector of the form c(nr,nc) which partitions the graphic window as a matrix of nr lines and nc columns, the plots are then drawn in
columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

mfrow

A

id. but the plots are drawn by row

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

pch

A

controls the type of symbol, either an integer between 1 and 25, or any
single character within “”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ps

A

an integer which controls the size in points of texts and symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

pty

A

a character which specifies the type of the plotting region, “s”: square, “m”: maximal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

tck

A

a value which specifies the length of tick-marks on the axes as a fraction of the smallest of the width or height of the plot; if tck=1 a grid is drawn

17
Q

tcl

A

a value which specifies the length of tick-marks on the axes as a fraction of the height of a line of text (by default tcl=-0.5)

18
Q

xaxt

A

if xaxt=”n” the x-axis is set but not drawn (useful in conjonction with axis(side=1, …))

19
Q

yaxt

A

if yaxt=”n” the y-axis is set but not drawn (useful in conjonction with axis(side=2, …))