Plotting individual segments of the trajectory
1 2 3 4 5 6 | geom_trajectory_segments(mapping = NULL,
position_arrow = position_trajectory_arrows_middle(),
arrow = ggplot2::arrow(length = ggplot2::unit(0.5, "cm"), type =
"closed"), arrow_size = 1, shadow = if ("colour" %in%
names(mapping)) { dynplot::shadow() } else { FALSE }, ...,
data = construct_get_segment_info(position_arrow), show.legend = NA)
|
mapping |
Set of aesthetic mappings created by |
position_arrow |
Where to place the arrows within the segments. Typically these are functions created by |
arrow |
specification for arrow heads, as created by arrow(). |
arrow_size |
The size of the arrow relative to the line size. |
shadow |
Shadow specification as created by |
... |
Other arguments passed on to |
data |
A function created by |
show.legend |
logical. Should this layer be included in the legends?
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.