Below we see a graph with two plots. I would like to have the series S1 with the same colour in each of the plots.
However, it seems that the colours are being attributed by alphabetic order.
The code I'm using is the following:
plot1<-ggplot(data=dfp)+
geom_point(aes(x=Save,y=Obsdata,colour="S1"))+
geom_point(aes(x=Save,y=BiasCorrected,colour="S2"))+
xlab("X")+ylab("Y")+
scale_color_discrete(name="")+
theme(legend.position="bottom")
plot2<-ggplot(data=dfp)+
geom_point(aes(x=Save,y=SModel, colour="R3"))+
geom_point(aes(x=Save,y=Obsdata,colour="S1"))+
xlab("X")+ylab("Y")+
scale_color_discrete(name="")+
theme(legend.position="bottom")
grid.arrange(plot1, plot2, ncol=2)
Any help would be appreciated.