R语言中palette函数修改R语言的默认调色板的颜色
001、 默认调色板
palette("default")
palette()
plot(1:5, cex = 5, pch = 15, col = 1:5)

002、修改默认调色板
palette(c("red", "black", "green","cyan", "purple"))
palette()
plot(1:5, cex = 5, pch = 15, col = 1:5)

。
001、 默认调色板
palette("default")
palette()
plot(1:5, cex = 5, pch = 15, col = 1:5)

002、修改默认调色板
palette(c("red", "black", "green","cyan", "purple"))
palette()
plot(1:5, cex = 5, pch = 15, col = 1:5)

。