nippon.palette: Switch the color palette to JIS colors

Description Usage Details Value Note Author(s) References Examples

Description

nippon.palette switches the color palette to the Japanese Industrial Standard (JIS) color palette, replacing with the corresponding color in the default palette.

Usage

1

Details

JIS common color names (JIS Z 8102:2001) were defined by JIS as 269 colors. These colors are different from usual color in computers. For example, red is #BE0032 in JIS color but #FF0000 in usual.

Value

an optional character vector

Note

Use 'palette("default")' to restore the default color palette.

Author(s)

Susumu Tanimura

References

JIS Z 8102:2001 (Names of non-luminous object colours) K. Seino and I. Shimamori. Shikimeijiten. Tokyo:Sinkigensha, 2005.

Examples

1
2
3
4
5
6
7
8
op <- par(mfrow=c(1,2))
palette("default")
n <- print(palette())
pie(rep(1,8),col=1:8,label=n)
nippon.palette()
pie(rep(1,8),col=1:8,label=n)
palette("default")
par(op)

Example output

Loading required package: stringr
[1] "black"   "red"     "green3"  "blue"    "cyan"    "magenta" "yellow" 
[8] "gray"   

Nippon documentation built on May 2, 2019, 1:03 p.m.