You can put the bar() function in a loop where you call it as soon as you've updated your data
for k = 1 : 10000
newBars = GetUpdatedData(); % Somehow get your new "live" data.
% Now that we have new data, plot it.
cla;
bar(newBars);
grid on;
end