桑德拉·玛丽(Sandra Marie)
我做了这个情节:
plot(prey$snake.SVL, prey$prey.weight, col = prey$snake.id, pch = 20, cex = 2)
此图显示了SVL(蛇的长度)VS猎物的重量pr.snake.id:
问题是如何为每条蛇获得颜色?
马特乌斯1981
library(ggplot2)
ggplot(data = snake.svl, aes(x = snake.svl,y = prey.weight, col = snake.id)) + geom_point()
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
编辑于
我来说两句