Description Usage Arguments Value Examples
Add backstitch lettering into a ggplot2 object.
1 | stitch_lettering(p, x, anchor = c(0, 0), scale = 1, set = "simple")
|
p |
The ggplot2 plot to use. |
x |
A character vector with the phrase to add to the plot. |
anchor |
The bottom-left position of the phrase in the plot. |
scale |
Scale of the lettering. I recommend you use integer values to make stitching easier! Default is 1. |
set |
Backstitch set to use. Default is "simple". Use names(backstitch_segments) to see all available. |
A ggplot2 plot object with an added geom_segment() layer.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.