其他分享
首页 > 其他分享> > R绘图体系ggplot2 基础篇:颜色搭配 (纠结症稳定剂)

R绘图体系ggplot2 基础篇:颜色搭配 (纠结症稳定剂)

作者:互联网

PALETTE LIST

1. system palette

image

2. palette 1 (主要作为自带色谱的补充)

mycol <- c("#BD6263","#8EA325","#A9D179","#84CAC0","#F5AE6B","#BCB8D3","#4387B5")

mycol2 = c( "#E64B35B2", "#4DBBD5B2" ,"#00A087B2", "#3C5488B2", "#F39B7FB2",
"#8491B4B2", "#91D1C2B2", "#DC0000B2", "#7E6148B2")
image

3.The palette with grey: 灰色系

cbPalette <- c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2",
"#D55E00", "#CC79A7")
image

4.The palette with black:黑色系

cbbPalette <- c("#000000", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2",
"#D55E00", "#CC79A7")
image

5.Color more than 12

16 colors
mycol3 <- c("darkgreen","chocolate4","blueviolet","#223D6C","#D20A13","#088247",
"#58CDD9","#7A142C","#5D90BA","#431A3D","#91612D","#6E568C","#E0367A",
"#D8D155","#64495D","#7CC767")
image
22 colors
mycol22 <- c("#35212e","#562e3c","#a14462","#eb998b",
"#fddbc8","#42465c","#356d67","#4c9568",
"#7fb961","#b0d45d","#ffe788","#b20000",
"#f06152","#7d4444","#9e6c69","#cca69c",
"#5066a1","#76afda","#abddff","#dcf2ff",
"#e8743c","#ffc556")
image

标签:8491B4B2,palette,CC79A7,D55E00,稳定剂,PALETTE,纠结,colors,ggplot2
来源: https://www.cnblogs.com/drliu/p/14612004.html