Description Usage Arguments Details Examples
To depict the distances in x
and y
direction to a point, draw lines and labels.
1 2 | trace_value(x, y, digits = 0, annotate = TRUE, lab.x = x, lab.y = y, prefix = "",
suffix = "", cex = 0.75, col = "blue", lty = 2, ...)
|
x |
numeric vector of x coordinates |
y |
numeric vector of y coordinates |
digits |
vector of length one or two, giving the number of digits used for rounding the label of the |
annotate |
logical, should the lines get annotated with labels? |
lab.x |
character vector of length one. Label of the |
lab.y |
character vector of length one. Label of the |
prefix |
vector of length one or two, text printed before the label of the |
suffix |
vector of length one or two, text printed after the label of the |
cex |
character expansion factor |
col |
color used for text and lines |
lty |
line type |
... |
other graphical parameters, passed on to |
This function is vectorised over x
and y
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.