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

后端 未结 3 1532
隐瞒了意图╮
隐瞒了意图╮ 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:51

    I used your code, and saving the image as svg.

    When opening in Inkscape, the different is that 19 has a "stroke", that is a border. 16 does not.

    Note that this is not a separate shape, but within the same shape.

提交回复
热议问题