From: nolwenn Guillemot on 19 Jul 2010 08:26 > hope this helps: > > y = zeros(200,1); > figure > for i=1:length(y) > % obtain data > y(i) = randn(1); > % plot last point > line(i, y(i), 'linestyle', 'none', 'marker','o') > end Sorry, I would have been more precise, I want to plot a buffer. There is my actual algorithm but it is too long, I want to speed it up. plotHandle1 =semilogy(h.axes1,ones(1,128)); Buff_out=zeros(1,128); while(ishandle(plotHandle1)) ... %fill in Buff_out set(plotHandle1,'YDATA',Buff_out); drawnow; end
|
Pages: 1 Prev: problem with sorting images by creation date--help me Next: MATLAB 7.1 works on Win 7? |