-
par()函数
par can be used to set or query graphical parameters.
x(y)axs
x(y)axs:The style of axis interval calculation to be used for the x(y)-axis. Possible values are "r", "i", "e", "s", "d". The styles are generally controlled by the range of data or x(y)lim, if given.
Style "r" (regular) first extends the data range by 4 percent at each end and then finds an axis with pretty labels that fits within the extended range.
Style "i" (internal) just finds an axis with pretty labels that fits within the original data range.
Style "s" (standard) finds an axis with pretty labels within which the original data range fits.
Style "e" (extended) is like style "s", except that it is also ensures that there is room for plotting symbols within the bounding box.
Style "d" (direct) specifies that the current axis should be used on subsequent plots.
(Only "r" and "i" styles have been implemented in R.)
x(y)asp
A vector of the form c(x1, x2, n) giving the coordinates of the extreme tick marks and the number of intervals between tick-marks when par("x(y)log") is false.
col
A specification for the default plotting color. See section ‘Color Specification’
使用颜色名:col = "颜色名"
使用数值表达颜色:col = n,n为当前调色板上的颜色,
使用十六进制表达颜色 col ="red, green, blue, alpha"
使用col = heat.colors(n)