powered by
Make a harpoon arrowhead
arrow_head_harpoon( point_angle = 30, barb_angle = 20, degrees = TRUE, rotate = 0, rescale = c(1, 1), nudge = c(0, 0), transformations = c("unitizer", "rotater", "rescaler", "nudger"), plot = FALSE )
a matrix
angle of harpoon point
angle of harpoon barb
if TRUE, angles are in degrees instead of radians
rotation angle in radians
a single value or 2-length vector for scaling in x and y
a single value or 2-length vector for nudging in x and y
a vector of transformation functions
plot arrowhead if TRUE
xy <- arrow_head_harpoon(plot = TRUE)
Run the code above in your browser using DataLab