par()中的缩写是什么功能,比如,mgp,mar,mai,等等,破译了吗其中一些是直观的(例如,lty = line type),但有些不是.这将有助于使他们更容易记住.

推荐答案

这是@zx8754在上面的 comments 中分享的table by Paul Murrell个.

Parameter Memnonic
adj Text ADJustment (i.e., justification).
ann Draw plot ANNotations? (i.e., labels and titles).
ask ASK before starting a new page?
bg Back Ground colour.
bty Box TYpe (what style of box for box() to draw).
cex Character EXpansion factor (text size multiplier).
cex.axis
cex.lab
cex.main
cex.sub
cex for AXIS tick labels, axis LABels, MAIN plot label (title), and plot SUB-title.
cin Character size in INches.
col Drawing COLour.
col.axis
col.lab
col.main
col.sub
Drawing colour for AXIS tick labels, axis LABels, MAIN plot label (title), and plot SUB-title.
cra Character size in RAasters (pixels).
crt Character RoTation angle.
csi Character SIze (height) in inches.
cxy Character size in XY coordinates (relative to the axis scales).
din Device size in INches.
family Text font FAMILY.
fg Fore Ground colour.
fig Size of the FIGure region (as a proportion of the inner region).
fin Size of the Figure region in INches.
font Text FONT face.
font.axis
font.lab
font.main
font.sub
Text FONT face for AXIS tick labels, axis LABels, MAIN plot label (title), and plot SUB-title.
lab Placement of axis LABels.
las Axis LAbel Style
lend Line ENDing style.
lheight Line HEIGHT (multiplier).
ljoin Line JOIN style.
lmitre Line MITRE limit (when does a pointy line join get beveled).
lty Line TYpe (solid, dashed, ...).
lwd Line Wid Dth
mai Figure MArgins in Inches.
mar Figure MARgins in lines of text.
mex Figure Margin character EXpansion (multiplier).
mfcol Number of Multiple Figures (use COLumn-wise).
mfg Specify next figure in Multiple Fi Gure arrangement.
mfrow Number of Multiple Figures (use ROW-wise).
mgp Mar Gin Position for plot title and axis labels.
new Is the plot region NEW? (not been drawn on).
oma Size of the Outer MArgins in lines of text.
omd Size of the Outer Margins as a proportion of the Device (page).
omi Size of the Outer Margins in Inches.
pch Plotting CHaracter (symbol).
pin Size of the Plot region in INches.
plt Size of the PLoT region as a proportion of the figure region.
ps Text Point Size.
pty Plot TYpe (points, lines, both).
srt String (text) RoTation angle.
tck Length of axis TiCK marks as a proportion of the plot region.
tcl Length of axis TiCk marks as a proportion of the height of a Line of text.
usr The axis scale ranges (USe R coordinates).
xaxp X-AXis tick mark Positions.
xaxs X-AXis Style.
xaxt X-AXis Type.
xpd Bill Venables has proposed "Do you want to eXceed any of the Plotting Domains?"
yaxp Y-AXis tick mark Positions.
yaxs Y-AXis Style.
yaxt Y-AXis Type.

R相关问答推荐

给定R中另一行中的值,如何插补缺失值

使用Shiny组合和显示复制和粘贴的数据

大规模重新标记haven标签数据

如何求解arg必须为NULL或deSolve包的ode函数中的字符向量错误

名称输出pmap on tible

R中的子集文件—读取文件名索引为4位数字序列,例如0001到4000,而不是1到4000)

如何将dygraph调用到R Markdown作为一个shiny 的react 对象的参数?

删除列表中存储的数据帧内和数据帧之间的重复行

在R中使用download. file().奇怪的URL?

如何删除仅在数据集顶部和底部包含零的行

线性模型斜率在减少原始数据时提供NA

在另一个包中设置断点&S R函数

当每个变量值只能 Select 一次时,如何从数据框中 Select 两个变量的组合?

防止在更新SHINY中的Reactive Value的部分内容时触发依赖事件

使用ggplot2中的sec_axis()调整次轴

错误包arrowR:READ_PARQUET/OPEN_DATASET&QOT;无法反序列化SARIFT:TProtocolException:超出大小限制&Quot;

带RStatix的Wilcoxon环内检验

替换在以前工作的代码中有x行&q;错误(geom_sf/gganimate/dow_mark)

在具有条件的循环中添加行

如何在R曲线图弹出窗口中更改r和theta标签