plot_graphs | R Documentation |
Use processDocument()
to split handwritting into component shapes called
graphs. plot_graphs()
creates a plot that displays the graphs. ggplot2::facet_wrap()
places each graph in its own facet, and ncol
sets the number of columns of facets.
plot_graphs(doc, ncol = NULL)
doc |
A PNG image of handwriting processed with |
ncol |
Optionally, set the number of columns in the output plot. The default is |
A plot of all graphs in the document
image_path <- system.file("extdata", "phrase_example.png", package = "handwriter")
doc <- processDocument(image_path)
plot_graphs(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.