摘要: rect 函数用来在一张图上添加矩形,只需要指定左下角和右上角的坐标的位置,就可以画出一个矩形 基本用法: plot(1:5, 1:5, xlim = c(0,6), ylim = c (0,6), type = "n") rect(xleft = 1, ybottom = 1, xright = 阅读全文
posted @ 2020-09-15 08:21 PythonGirl 阅读(1186) 评论(0) 推荐(0) 编辑