@Surya1987 wrote:
Here is the code which I used to plot a scatter plot. Here Two legends are getting generated because as there is colour and shape arguement. However I want the combination of that. Here is the existing code: I also want to have a colour green start with "SEO" and others as green.
ggplot(DF3, aes_string(x="AvgECSN", y="AvgResult", shape="Engine.Line", color="Region"))+
Existing.pdf (5.5 KB)
geom_jitter(size=4)+scale_shape_manual(values=1:nlevels(DF3$Engine.Line)) + scale_colour_manual(values=c(3,rep(2,10)))
Posts: 1
Participants: 1