plot.kanjimat {kanjistat} | R Documentation |
Plot kanjimat object
Description
Plot kanjimat object
Usage
## S3 method for class 'kanjimat'
plot(
x,
mode = c("dark", "light"),
col = gray(seq(0, 1, length.out = 256)),
...
)
Arguments
x |
object of class kanjimat. |
mode |
character string. If "dark" the original grayscale values are used, if "light" they are inverted. With the default grayscale color scheme the kanji is plotted white-on-black for "dark" and black-on-white for "light". |
col |
a vector of colors. Typically 256 values are enough to keep the full information of an (antialiased) kanjimat object. |
... |
further parameters passed to |
Value
No return value, called for side effects.
[Package kanjistat version 0.14.1 Index]