简体   繁体   中英

make pch symbols bigger in legend in R

Is there a way ONLY to make the pch symbols bigger using this piece of code? I cant seem to figure this out.

plot(1)
legend("topright", legend=c(1,2,3,4,5,6),
       pch=c(20), col=c("red", "yellow", "green", "violet", "skyblue", "cyan"),
       title="number of studies", pt.cex=1.2)

在此处输入图片说明

您可以在图例中设置pt.cex来放大点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM