In R graphics, what is the different between plotting characters (pch) 16 and 19?

后端 未结 3 1531
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 11:45

I can\'t find any documentation other than mentions of \"filled\" vs \"solid\".

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


        
3条回答
  •  别那么骄傲
    2021-01-12 11:50

    This may help:

    Values of pch are stored internally as integers. The interpretation is

    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).
    

    The full text is here

提交回复
热议问题