hi,
i want to plot data in matlab with data getting updated runtime, and so, need plot to get updated also.
for example,
for i=1:10
% get data
plot(data);
end
but, what i m getting is only one plot at end of the entire for loop instead of all intermediate plots.
ya, i have tried with given answers, but they are not working.
exact solution i got, and it is to use 'pause' with some argument showing very less amount of time, such as pause(0.1), after plotting data each time.
no. its better to use pause instead of line or something else.
u just have to put one function, such as, pause(0.1), after each time u call to plot function.