Plot kanjimat object
# S3 method for kanjimat
plot(
x,
mode = c("dark", "light"),
col = gray(seq(0, 1, length.out = 256)),
...
)
No return value, called for side effects.
object of class kanjimat.
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".
a vector of colors. Typically 256 values are enough to keep the full information of an (antialiased) kanjimat object.
further parameters passed to image
.