function stars(x,y,c)
figure(1)
clf
hold on
for i =1:length(x)-1
    plot([x(i) x(i+1)], [y(i) y(i+1)],c(i))
end
plot([x(end) x(1)], [y(end) y(1)],c(end))
