vert_bow_tie {matRiks}R Documentation

Coordinates of bow ties

Description

Define the coordinates for drawing bow ties composed of two triangles

Usage

vert_bow_tie(
  size.x = 10,
  size.y = size.x,
  pos.x = 0,
  shd = NA,
  lty = 1,
  lwd = 3
)

s_vert_bow_tie(
  size.x = 10,
  size.y = size.x,
  pos.x = 0,
  shd = NA,
  lty = 1,
  lwd = 3
)

hor_bow_tie(
  size.x = 10,
  size.y = size.x,
  pos.x = 0,
  shd = NA,
  lwd = 3,
  lty = 1
)

s_hor_bow_tie(
  size.x = 10,
  size.y = size.x,
  pos.x = 0,
  shd = NA,
  lwd = 3,
  lty = 1
)

Arguments

size.x

numeric, define the semi-major axis of the ellipse within which the figure is inscribed. Default is 10

size.y

numeric, define the semi-minor axis of the ellipse within which the figure is inscribed. Default is size.x

pos.x

numeric, define the position on the x axis. Default is 0

shd

character, define the color of the figure. Default is NA, which results in a transparent figure

lty

integer, define the line type of the figure, default is 1 (solid line)

lwd

integer, define the line width of the figure. Default is 3

Details

vert_bow_tie() Define the coordinates for drawing a vertical bow tie composed of two triangles

Value

Return the coordinates for drawing a vertical bow tie

Return the coordinates for drawing a single vertical bow tie

Return the coordinates for drawing a vertical bow tie

Return the coordinates for drawing a single horizontal bow tie

Functions

Examples

# return the default coordinates for drawing a vertical bow tie
vert_bow_tie()
# change the coordinates for drawing a smaller bow tie
vert_bow_tie(size.x = 5)
# return the default coordinates for drawing a bow tie
s_vert_bow_tie()
# change the coordinates for drawing a smaller bow tie
s_vert_bow_tie(size.x = 5)
# return the default coordinates for drawing a vertical bow tie
hor_bow_tie()
# change the coordinates for drawing a smaller bow tie
hor_bow_tie(size.x = 5)
# return the default coordinates for drawing a single horizontal bow tie
s_hor_bow_tie()
# change the coordinates for drawing a smaller bow tie
s_hor_bow_tie(size.x = 5)

[Package matRiks version 0.1.3 Index]