col_map <- c("#CD3333", "#0000EE", "#000000")
ggplot(iris,aes(Sepal.Length,Petal.Length))
geom_point(aes(col=Species),size=3)
scale_colour_manual(values = col_map)
12.赶紧来试试今天的功能吧!
col_map <- c("#CD3333", "#0000EE", "#000000")
ggplot(iris,aes(Sepal.Length,Petal.Length))
geom_point(aes(col=Species),size=3)
scale_colour_manual(values = col_map)
12.赶紧来试试今天的功能吧!
Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.