maxi {matRiks} | R Documentation |
Coordinates of a maxi
Description
Define the coordinates for drawing a maxi (i.e., a cross composed of four lucks)
Usage
maxi(size.x = 8, size.y = 4, pos.x = 0, shd = NA, lty = 1, lwd = 3)
s_maxi(size.x = 8, size.y = 4, pos.x = 0, shd = NA, lty = 1, lwd = 3)
Arguments
size.x |
numeric, define the semi-major axis of the ellipse within which the figure is inscribed. Default is 8 |
size.y |
numeric, define the semi-minor axis of the ellipse within which the figure is inscribed. Default is 4 |
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 |
Value
Return the coordinates for drawing a maxi
Return the coordinates for drawing a maxi
Functions
-
s_maxi()
: Coordinates of a single maxiDefine the coordinates for drawing a single maxi (i.e., a cross composed of four lucks), to be used in shape()
Examples
# return the default coordinates for drawing a maxi
maxi()
# change the coordinates for drawing a smaller maxi
maxi(size.x = 5)
# return the default coordinates for drawing a single maxi
s_maxi()
# change the coordinates for drawing a smaller single maxi
s_maxi(size.x = 5)