全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
10121 2
2015-02-10
ggplot画图,怎么让图例的实心圆点大一些?
附件列表
help.png

原图尺寸 616 Bytes

help.png

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2015-2-10 21:45:27
使用guides:         guides(colour = guide_legend(override.aes = list(size=5)))
5 这里就是你可调的size大小

以mtcars中的数据为例:
ggplot(mtcars, aes(drat, wt))+geom_point(aes(colour=factor(gear)))+ guides(colour = guide_legend(override.aes = list(size=5)))
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-2-10 22:44:12
fully agree. There is one options called SIZE, there you can adjust the value to change the outlook of the symbol
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群