CCP | R Documentation |
Create a Cartesian Coordinate Plane.
CCP(
xlim = c(-4, 4),
ylim = c(-4, 4),
mar = rep(0, 4),
length = 0.1,
tcl = 0.007,
xylab = FALSE,
ticks = 1,
ticklabs = 1,
xpos = 1,
ypos = 2,
cex.coord = 1,
cex.xylab = 1.5,
add = FALSE
)
xlim |
The x-limits for the plane (vector of length 2). |
ylim |
The y-limits for the plane (vector of length 2). |
mar |
Plotting margins. |
length |
The |
tcl |
Tick size. |
xylab |
Whether x and y should be shown next to the labels. |
ticks |
How frequently tick marks should be shown on the axes. If a vector of length 2, the first argument will correspond to the x-axis and the second to the y-axis. |
ticklabs |
How frequently tick labels should be shown on the axes. If a vector of length 2, the first argument will correspond to the x-axis and the second to the y-axis. |
xpos |
The position of the labels on the x-axis. See the |
ypos |
The position of the labels on the y-axis. See the |
cex.coord |
Inflation factor for font size of the coordinates, where
any value larger than zero is acceptable and |
cex.xylab |
Inflation factor for font size of the x and y labels, where
any value larger than zero is acceptable and |
add |
Indicate whether a new plot should be created ( |
David Diez
lsegments
, dlsegments
,
ArrowLines
CCP()
CCP(xylab = TRUE, ylim = c(-3.5, 2), xpos = 3, cex.coord = 1)
CCP(xlim = c(-8, 8), ylim = c(-10, 6), ticklabs = c(2, 2), cex.xylab = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.