How to control the font of the character in the plot?

In R, in the plot () function, the pch argument controls the appearance of characters. For example, pch = 3, but is it possible to make this character bold, something like font.symbol = 2?

+4
source share
1 answer

If you use characters with lines, it looks like lwd can get what you need:

 plot(1:10, lwd = rep(1:5, 2), cex = 2) 

enter image description here

+1
source

All Articles