I have an N x 2 array "pts" of all the points to be plotted, and a corresponding N x 3 list "clrs" of the RGB color of each one. However, the commands
hold on
for i = 1:N,plot(pts(i,1),pts(i,2),'color',clrs(i,:),'.'),end;
works, but is very very slow. Is there a way of speeding this up; or in general for plotting a very large amount of points (100,000, say), each with a particular color?