corner {matlib} | R Documentation |
Draw a corner showing the angle between two vectors
Description
A utility function for drawing vector diagrams. Draws two line segments to indicate the angle between two vectors, typically used for indicating orthogonal vectors are at right angles in 2D and 3D diagrams.
Usage
corner(p1, p2, p3, d = 0.1, absolute = TRUE, ...)
Arguments
p1 |
Starting point of first vector |
p2 |
End point of first vector, and also start of second vector |
p3 |
End point of second vector |
d |
The distance from |
absolute |
logical; if |
... |
Arguments passed to |
Details
In this implementation, the two vectors are specified by three points, p1
, p2
, p3
, meaning
a line from p1
to p2
, and another line from p2
to p3
.
Value
none
See Also
Other vector diagrams:
Proj()
,
arc()
,
arrows3d()
,
circle3d()
,
plot.regvec3d()
,
pointOnLine()
,
regvec3d()
,
vectors()
,
vectors3d()
Examples
# none yet