The properties of my figure I want to build are the following:
The figure shows 200 points. The points above the diagonal should be shown with red stars and the one below the diagonal, with blue triangles.
This is what I've managed to do so far
x=[0 1];
y=[0 1];
line(x,y, 'linewidth', 1);
hggroup = scatter(rand(100,1),rand(100,1));
axis tight;
axis square;
title('Scatterplot')
Could you help me with that? Thanks in advance.