I am a beginner in R and would like to give different colors to the dots in my scatter plot, between 0 -> 0.4, 0.4 ->0.8 and 0.8 -> 1 in my x-axis. i have googled a lot but was not able to find hints for the solution.
i am using this code for the plot :
ggplot(xlim=1, ylim=1,)+geom_point(data=df,aes(x1,y1))+
geom_circle(aes(x0 = x0, y0 = y0 ,r = r,colour=cb), data = circ_kv) +
coord_fixed(xlim=c(0,1),ylim=c(0,1))
all help or hints are very much appreciated!
