📜  r 中绘图中的标签点 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:16.745000             🧑  作者: Mango

代码示例1
# Example of labeling points
attach(mtcars)
plot(wt, mpg, main="Milage vs. Car Weight",
   xlab="Weight", ylab="Mileage", pch=18, col="blue")
text(wt, mpg, row.names(mtcars), cex=0.6, pos=4, col="red")