arrow2 {biwavelet}R Documentation

This is an alternative helper function that plots arrows. It uses text() to print a character using a default font. This way, it is possible to render different types of arrows.

Description

This is an alternative helper function that plots arrows. It uses text() to print a character using a default font. This way, it is possible to render different types of arrows.

Usage

arrow2(x, y, angle, size = 0.1, col = "black", chr = intToUtf8(10139))

Arguments

x

X-coordinate of the arrow.

y

Y-coordinate of the arrow.

angle

Angle in radians.

size

Similar to arrow.len parameter. Notice that we don't need the arrow.lwd anymore

col

Color of the arrow.

chr

Character representing the arrow. You should provide the character as escaped UTF-8.

Author(s)

Viliam Simko

Examples

# Not run: arrow2(x[j], y[i], angle = phases[i, j],
# Not run:        col = arrow.col, size = arrow.len)

[Package biwavelet version 0.20.21 Index]