MATLAB: Best way in Plotting lots of points

meshresolution

I have meshed a plate with 40000 point. Currently it is as following.
abc(ii)=plot(kkk(ii,1),kkk((ii+n_node/3),1),'.',...
'LineWidth',6,...
'MarkerEdgeColor',[1 1 1]*IDC(ii,1),...
'MarkerFaceColor',[1 1 1]*IDC(ii,1),...
'MarkerSize',6);
any idea that I can present results more nice?
I am thinking something like as gradient colors.

Best Answer

  • I think you should be considering using scatter() instead of plot(). plotting one point at a time is time-consuming when you have a lot of points.