%draw the lines
line_bs=plot(PS,bs,'r');
hold on
line_morph=plot(PS,morph,'b');
%add legend and labels
legend([line_bs,line_morph],'bs','morph');
xlabel('real quantity of pixels artificially measured');
ylabel('detected quantity of pixels by program');