Description Usage Arguments Examples
'geom_dash' draws a dash around points (x, y). Couyld be useful for custom data visualisation, or distribution or vector fields. For those scenarios it's more convenient than geom-segment.
1 2 3 4 |
mapping |
Set of aesthetic mappings created by aes() or aes_(). If specified and inherit.aes = TRUE (the default), it is combined with the default mapping at the top level of the plot. You must supply mapping if there is no plot mapping. The 'geom_dash' is characterised by specific aes() that encore different dimensions: 'width': the length of the dash, 'angle': the angle of the dash and 'start' [0-1]the relative position of the starting point of the dash (0.5 by default). |
arrow |
specification for arrow heads, as created by arrow(). |
arrow.fill |
fill colour to use for the arrow head (if closed). 'NULL' means use 'colour' aesthetic. |
lineend |
Line end style (round, butt, square). |
linejoin |
Line join style (round, mitre, bevel). |
relative |
if TRUE normalize the dash width relative to the maximum value of width to avoid overlapping (default = F). |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.