In the R chart, what is the difference between the graphic characters (pch) 16 and 19?

I can not find any documentation other than the references "filled" and "solid."

library(graphics)
plot.new()
points(.48, .5, pch=19)
points(.52, .5, pch=16)

enter image description here

Edit: Explanation Winston Chang fully answers my question https://github.com/hadley/ggplot2/issues/1757#issuecomment-247804365

+5
source share
3 answers

R : , : 0, 15 22 - . . (0-14) , ; (15-18) ; (21-24) .

+3

:

pch .

NA_integer_: no symbol.

0:18: S-compatible vector symbols.

19:25: further R vector symbols.

26:31: unused (and ignored).

32:127: ASCII characters.

128:255 native characters only in a single-byte locale and for the symbol font. (128:159 are only used on Windows.)

-32 ... Unicode code point (where supported).

+2

svg.

Inkscape , 19 "", . 16 .

enter image description here

, , .

0

Source: https://habr.com/ru/post/1654931/


All Articles