ggplot2: Bring one line to the front, but save the colors

前端 未结 4 1047
忘了有多久
忘了有多久 2021-01-04 06:32

Consider the following code:

library(ggplot2)
foo <- data.frame(x=1:10,A=1:10,B=10:1)
ggplot(melt(foo,id.vars=\"x\"),aes(x,value,color=variable))+geom_lin         


        
4条回答
提交回复
热议问题