axe {matRiks}R Documentation

Coordinates of an axe

Description

Define the coordinates for drawing an axe

Usage

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

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

Arguments

size.x

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

pos.x

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

pos.y

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

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

shd

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

Value

Return the coordinates for drawing an axe

Return the coordinates for drawing a single axe

Functions

Examples

# return the default coordinates for drawing an axe
axe()
# change the coordinates for drawing a smaller single axe
axe(size.x = 5)
# return the default coordinates for drawing single axe
s_axe()
# change the coordinates for drawing a smaller single axe
s_axe(size.x = 5)

[Package matRiks version 0.1.3 Index]