Description Usage Arguments Aesthetics See Also Examples
View source: R/geom-brush-xspline.R
The main curve is described by x/y position points and a variable-size brush is used to sweep a variable-width line from the main curve.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
Other arguments passed on to |
open |
a logical value indicating whether to connect the last location back to the first location to produce a closed line. |
width_units |
the units of line, details see |
width_shape |
the shape parameter for the width spline. |
rep |
a logical value indicating whether to repeat the widths along the full length of the line. |
shape |
a numeric value (or one per location) that controls the shape of the X-spline curve relative to the locations. |
debug |
a logical value indicating whether to produce graphical debugging output. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
geom_brush_xspline()
understands the following aesthetics (required
aesthetics are in bold):
x
y
angle
alpha
colour
dist
fill
linetype
size
space
width
brushXsplineGrob
, widthSpline
,
BezierWidth
.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.