From: nolwenn Guillemot on

> 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