Description Usage Arguments Details Author(s) See Also Examples
Add arrows to axes to indicate direction
1 | axisArrows(side = 1:2, backward = FALSE, offset = 0.1, ...)
|
side |
numeric indicating which sides(s) to put arrows on (following convention of |
backward |
logical, should the arrow be backwards (i.e. pointing down if side is 2 or 4, or pointing left if side is 1 or 3) |
offset |
numeric given the proportion by which to offset the start and end of the arrow from the plot edges |
... |
arguments passed to function |
This function puts arrows in the margin space and will try to fit the arrows nicely,
but assumes some space has been left for them (e.g. through mar
argument to par
)
Andy Rominger <ajrominger@gmail.com>
axis, arrows, logAxis
1 2 | plot(1)
axisArrows(side=1:2, length=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.