R语言调色板定义20种不同颜色 步骤及代码示例 1. 定义一个包含20种颜色的向量 # 创建包含20种颜色的向量colors<-c("red","blue","green","orange","yellow","purple","pink","brown","cyan","magenta","lime","olive","teal","navy","maroon","aqua","fuchsia","silver","gray","black") 1....