找回密码
 立即注册
查看: 1860|回复: 0

ggplot2散点图color参数可以填充图形,设置了shape以后就变成了边框颜色,怎样设置...

[复制链接]
发表于 2021-1-29 11:14:30 | 显示全部楼层 |阅读模式
ggplot(data = mtcars,aes(wt,mpg)) + geom_point(size = 5,color = "red",shape = 2)
ggplot(data = mtcars,aes(wt,mpg)) + geom_point(size = 5,color = "red")

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|R语言中文网

GMT+8, 2024-11-25 07:46 , Processed in 0.017988 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表