Drawing a figure like plot()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | plotn_s.default(
x = NULL,
y = NULL,
data = NULL,
...,
xlim = NULL,
ylim = NULL,
las = 1,
cex.axis = 1.1,
cex.lab = 1.3,
font.lab = 2,
pch = 16,
col.dot = NULL,
col.fill = NULL,
col.line = NULL,
col.bor = "transparent",
col.bg = "#FFFFFF",
legend = F,
pos.leg = "outright",
pch.leg = NULL,
bty.leg = "n",
bg.leg = "transparent",
lty = 1,
lwd.dot = 1,
lwd.line = 1,
pt.cex.leg = 1.5,
tx.cex.leg = 1.1,
pt.col.leg = NULL,
pt.bg.leg = NULL,
lty.leg = NULL,
pt.lwd.leg = NULL,
ln.lwd.leg = NULL,
tx.col.leg = NULL,
leg.lab = NULL,
leg.sp = 2.5,
inset = 1,
leg.title = NULL,
tit.col.leg = NULL,
mode = "s",
group = NULL,
fill = F,
line = F,
density = NA,
angle = 45,
warning = F,
mar = c(3.8, 3.8, 1, 1),
mgp = c(2.5, 0.5, 0),
tcl = -0.2,
inversion = F,
inv.col = "#FFFFFF"
)
|
x |
Data, e.g. numeric vector, formula, e.g. y ~ x, or other object containing analysis result |
y |
If numeric vector is inputted in "formula" parameter, numeric vector is also inputted in y |
data |
If formula is inputted in "x" or "formula" parameter, a data.frame (or list) from which the variables in formula should be taken. |
... |
Argument to be passed to methods. Please see plot(). |
xlim |
x limit |
ylim |
y limit |
las |
las, defauls is 1 |
cex.axis |
axis cex, default is 1.1 |
cex.lab |
label cex, default is 1.3 |
font.lab |
label font size, default is 2 |
pch |
pch, default is 16 |
col.dot |
points color |
col.fill |
fill color |
col.line |
line color |
col.bor |
border color |
col.bg |
background color |
legend |
If legend is needed, set "T". Default is "F". |
pos.leg |
Legend position. In addition to position of legend(), "outtopright, "outright", "outbottomright" and "outbottom" are able to select. Default is "outright". |
pch.leg |
Legend pch |
bty.leg |
Legend box type. Default is ""n. |
bg.leg |
Legend background |
lty |
lty |
lwd.dot |
Points lwd, default is 1. |
lwd.line |
Line lwd, default is 1. |
pt.cex.leg |
Points cex in legend, default is 1.5. |
tx.cex.leg |
Text cex in legend, default is 1.1. |
pt.col.leg |
Points color in legend. |
pt.bg.leg |
Points background color in legend. |
lty.leg |
lty in legend. |
pt.lwd.leg |
Points lwd in legend. |
ln.lwd.leg |
Line lwd in legend. |
tx.col.leg |
Text color in legend. |
leg.lab |
Legend label |
leg.sp |
Legend space, default is 2.5. |
inset |
Legend inset, default is 1. |
leg.title |
Legend title |
tit.col.leg |
Legend title color |
mode |
Plotting mode. Setting "s" is single group plot, while setting "m" is multiple groups plot. Default is "s". |
group |
Grouping factor in setting mode = "m". |
fill |
If fill color is needed, set "T". Default is "F". |
line |
If line is needed, set "T". Default is "F". |
density |
Fill density |
angle |
Fill stripe angle, default is 45 degree. |
warning |
If it is set with T and plot is not able to outputted with default settings, warning message is outputted |
mar |
mar, default is c(3.8,3.8,1,1). |
mgp |
mgp, default is c(2.5,0.5,0). |
tcl |
tcl, default is -0.2. |
inversion |
Inversion mode. If set "T", plot is drawn with inversion color. Default is "F". |
inv.col |
Inversion color, if set inversion = "T". Default is "#FFFFFF". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.