add_arrow.Rd
Add arrrows to an scplot
add_arrow(
object,
case = 1,
x0,
y0,
x1,
y1,
color = "black",
angle = 30,
length = unit(5, "points"),
type = "open",
ends = "last",
linewidth = 0.7
)
An scplot object (class scplot
) returned from the scplot()
function.
Numerical vector with the case number or character string. case = "all"
for all cases.
Origin x position of the line.
Origin y position of the line.
End x position of the line.
End y position of the line.
A character string or a number defining the color of an element.
Angle (in [0,360])
Size of the arrow angels.
One of "open" or "closed" indicating whether the arrow head should be a closed triangle.
One of "last", "first", or "both", indicating which ends of the line to draw arrow heads.
A number with the width of the line.
An object of class scplot
(seescplot()
) with added element
lines
.