Answers for "label points in plot in r"

3

label points in plot in r

# 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")
Posted by: Guest on August-25-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language