y =[9 9 9 9 9 9 9 10 10 10 10 10 10 10];
x =[-5 -6 4 5 6 1 3 -4 1 -2 -1 4 6 -6];
hic = [838 1087 1669 747 925 973 1150 1236 563 665 1085 787 750 1070 ];
g={hic};
gscatter(x,y,g,'rygb','*',8,'Age','Weight');
legend('Location','northeastoutside')
thank you for your answer !!
i am still stuck. i do not understand how the groups are formed in the right color.