splot | R Documentation |
splot
handels generic 2-d plotting.
splot( data = NULL, axis.style = "r", sec.x = F, sec.y = F, at1 = NULL, at2 = NULL, at3 = NULL, at4 = NULL, at1.labels = NULL, at2.labels = NULL, at3.labels = NULL, at4.labels = NULL, mgp1 = c(3, 0.1, 0), mgp2 = c(3, 0.2, 0), lwd.axis = 0.1, bg = NULL, ... )
data |
a two-column data.frame or data.table with x variable in the first column and y variable in the second. |
axis.style |
axis style, can be one of "i" (default) or "r". |
sec.x |
logical. If TRUE the axis on the top would be added. |
sec.y |
logical. If TRUE the axis on the right would be added. |
at1 |
the points at which x-tick-marks are to be drawn. |
at2 |
the points at which y-tick-marks are to be drawn. |
at3 |
the points at which sec.x-tick-marks are to be drawn. |
at4 |
the points at which sec.y-tick-marks are to be drawn. |
at1.labels |
x-tick-labels. |
at2.labels |
y-tick-labels. |
at3.labels |
sec.x-tick-labels. |
at4.labels |
sec.y-tick-labels. |
mgp1 |
mgp for x axis, same as the mgp in |
mgp2 |
mgp for y axis, same as the mgp in |
lwd.axis |
axis line width. |
bg |
background color. |
... |
other graphical parameters to be passed. |
splot(cars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.