1、使用R包 wesanderson
网站:GitHub - karthik/wesanderson: A Wes Anderson color palette for R
install.packages("wesanderson")
devtools::install_github("karthik/wesanderson")
2、示例情况
library("wesanderson")
# See all palettes
names(wes_palettes)
#> [1] "BottleRocket1" "BottleRocket2" "Rushmore1" "Rushmore"
#> [5] "Royal1" "Royal2" "Zissou1" "Darjeeling1"
#> [9] "Darjeeling2" "Chevalier1" "FantasticFox1" "Moonrise1"
#> [13] "Moonrise2" "Moonrise3" "Cavalcanti1" "GrandBudapest1"
#> [17] "GrandBudapest2" "IsleofDogs1" "IsleofDogs2" "FrenchDispatch"
#> [21] "AsteroidCity1" "AsteroidCity2" "AsteroidCity3"
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png
网友评论