

xdata=[1,2,3,4,5,6,7,8,9,10];
ydata=[2,15,1,8,9,21,10,-0.2,6,13];
figure; hold on; title('title'); xlabel('x axis'); ylabel('y axis');
scatter(xdata,ydata);
xlim([0,10]); ylim([0,20]);
