powered by
Generate a scatter plot with text overlay with ggplot2. This plot is to better show the effect of the text variable in the domain of x and y variable.
pl.3txtgg(x,y,txt,size,title,xlab,ylab)
:a numeric vector
:a vector used as labels
:text size, which default is set as 3
:title of the graph
:x-axis label
:y-axis label
# NOT RUN { pl.3txtgg(mtcars[,1], mtcars[,3], row.names(mtcars), 3,"mpg v. cyl", "mpg", "cyl") # }
Run the code above in your browser using DataLab