get_strokes_compo | R Documentation |
The strokes are the leaves of the kanjivec stroketree
. They consist of
a two-column matrix giving a discretized path for the stroke in the unit square [0,1]^2
with further attributes.
get_strokes_compo(kvec, which = c(1, 1))
kvec |
an object of class |
which |
a vector of length 2 specifing the index of the component, i.e. the component used
is |
A list of strokes with attributes.
get_strokes
kanji <- fivebetas[[5]]
# get the three strokes of the component\u2ed6 in \u9663
rad <- get_strokes_compo(kanji, c(2,1))
plot(0.5, 0.5, xlim=c(0,1), ylim=c(0,1), type="n", asp=1, xaxs="i", yaxs="i", xlab="", ylab="")
invisible(lapply(rad, lines, lwd=4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.