| autoText | R Documentation | 
Automatically places a given character string in the sparsest location of the space spanned by the the x and y input coordinates.
autoText(x, y=NULL, text.="", cex=1, col=1, nquadrant=5)
| x | if  | 
| cex | 
 | 
| col | 
 | 
| nquadrant | an integer denoting the number of quadrants to partition
the space spanned by x and y. For example, if  | 
| text. | a character string to place in the current plot.
Default:  | 
| y | a numeric vector containing the ordinate (y-axis) values
in the current plot. If  | 
no output is returned.
The defined text is positioned in the estimated sparsest region of the specified data set.
text, autoKey, sparsestQuadrant, mergeList.
## quadratic x <- seq(-5,5) y <- x^2 plot(x,y,type="p") autoText(x, y, text="Some text in a parabola", cex=1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.