In this case you are actually making a boxplot because x is factor and y is numeric. For boxplot line colors are controled with argumnt border=
plot(df.agg$Group.1, df.agg$x, border="red")
You can see it by making the same plot with function boxplot()
.
boxplot(df.agg$x~df.agg$Group.1, , border="red")