Plot a male symbol in the plotting region

Share:

Description

Plot a male symbol in the plotting region.

Usage

1
symbol.Male(centerx, centery, rayonx, lwd = 2, col = "black")

Arguments

centerx

The x position of the center of the circle

centery

The y position of the center of the circle

rayonx

The size of the rayon in the scale of the x axis

lwd

The width of the line of the symbol

col

The color of the symbol

Details

symbol.Male plot a male symbol in the plotting region

Value

Nothing

Author(s)

Marc Girondot

See Also

Other Symbol: symbol.Female

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
plot(x=1:2, y=c(10,20), type="n", bty="n", xlab="", ylab="")

rayonx <- 0.01
centerx <- 1.2
centery <- 15

symbol.Male(centerx=centerx, centery = centery, rayonx=rayonx)
symbol.Female(centerx=centerx+0.5, centery = centery, rayonx=rayonx)

rayonx <- 0.03
centerx <- 1.2
centery <- 18

symbol.Male(centerx=centerx, centery = centery, rayonx=rayonx, lwd=3)
symbol.Female(centerx=centerx+0.5, centery = centery, rayonx=rayonx, lwd=3, col="red")

rayonx <- 0.05
centerx <- 1.4
centery <- 13

symbol.Male(centerx=centerx, centery = centery, rayonx=rayonx, lwd=4, col="blue")
symbol.Female(centerx=centerx+0.5, centery = centery, rayonx=rayonx, lwd=4, col="red")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.