View source: R/other_figures.R
vert_bow_tie | R Documentation |
Define the coordinates for drawing bow ties composed of two triangles
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
)
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 |
vert_bow_tie() Define the coordinates for drawing a vertical bow tie composed of two triangles
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
s_vert_bow_tie()
: Coordinates of a single vertical bow tie
Define the coordinates for drawing a single vertical bow tie composed of two triangles, to be used in shape()
hor_bow_tie()
: Coordinates of an horizontal bow tie
Define the coordinates for drawing an horizontal bow tie composed of two triangles
s_hor_bow_tie()
: Coordinates of a single horizontal bow tie
Define the coordinates for drawing a single horizontal bow tie composed of two triangles, to be used in shape()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.