malta {matRiks}R Documentation

Coordinates of a Malta cross

Description

Define the coordinates for drawing a Malta cross

Usage

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

s_malta(size.x = 10, 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

lwd

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

lty

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

Value

Return the coordinates for drawing a Malta cross

Return the coordinates for drawing a single Malta cross

Functions

Examples

# return the default coordinates for drawing a Malta cross
malta()
# change the coordinates for drawing a smaller Malta cross
malta(size.x = 5)
# return the default coordinates for drawing a single Malta cross
s_malta()
# change the coordinates for drawing a smaller single Malta cross
s_malta(size.x = 5)

[Package matRiks version 0.1.3 Index]