Description Usage Arguments Details Value Author(s) See Also Examples

Draws nice 3D arrows with `cone3d`

s at their tips.

1 2 |

`coords` |
A 2n x 3 matrix giving the start and end (x,y,z) coordinates of n arrows, in pairs. The first vector in each pair is taken as the starting coordinates of the arrow, the second as the end coordinates. |

`headlength` |
Length of the arrow heads, in device units |

`head` |
Position of the arrow head. Only |

`scale` |
Scale factor for base and tip of arrow head, a vector of length 3, giving relative scale factors for X, Y, Z |

`radius` |
radius of the base of the arrow head |

`ref.length` |
length of vector to be used to scale all of the arrow heads (permits drawing arrow heads of the same size as in a previous call);
if |

`draw` |
if |

`...` |
rgl arguments passed down to |

This function is meant to be analogous to `arrows`

, but for 3D plots using `rgl`

.
`headlength`

, `scale`

and `radius`

set the length, scale factor and base radius of the arrow head, a
3D cone. The units of these are all in terms of the ranges of the current rgl 3D scene.

invisibly returns the length of the vector used to scale the arrow heads

January Weiner, borrowed from the pca3d package, slightly modified by John Fox

Other vector diagrams: `Proj`

,
`arc`

, `corner`

,
`plot.regvec3d`

, `pointOnLine`

,
`regvec3d`

, `vectors3d`

,
`vectors`

1 | ```
#none yet
``` |

matlib documentation built on April 4, 2018, 5:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.