pizza_4 {matRiks}R Documentation

Coordinates of a pizza with four slices

Description

Define the coordinates for drawing the circle sections composing a pizza with four slices

Usage

pizza_4(size.x = 15, shd = NA, lwd = 3, lty = 1)

s_pizza_4(size.x = 15, shd = NA, lwd = 3, lty = 1)

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

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

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

s_pizza_2_inv(
  size.x = 15,
  size.y = 0,
  pos.x = 0,
  pos.y = 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 15

shd

character, define the shading 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)

size.y

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

pos.x

numeric, position on the x axis. Default is 0

pos.y

numeric, position the y axis, Default is 0

Value

Return the coordinates for drawing four circle sections composing a pizza with four slices

Return the coordinates for drawing four circle sections composing a singledocu pizza with four slices

Return the coordinates for drawing two circle sections composing a pizza with two slices

Return the coordinates for drawing two circle sections composing a single pizza with two slices

The coordinates of two circle sections composing an inverse pizza with two slices

The coordinates of two circle sections composing a single pizza with two slices

Functions

Examples

# default coordinates of the pizza with four slices
pizza_4()
# default coordinates of the single pizza with four slices
s_pizza_4()
# default coordinates of the pizza with two slices
pizza_2()
# default coordinates of the single pizza with two slices
s_pizza_2()
# default coordinates of the inverse pizza with two slices
pizza_2_inv()
# default coordinates of the single inverse pizza with two slices
s_pizza_2_inv()

[Package matRiks version 0.1.3 Index]