% pop_one: pop a point from the plot data vector...

cld = get(gca,'Children');
xdata = get(cld(2), 'XData');  xdata = xdata(1:(length(xdata)-1));
ydata = get(cld(2), 'YData');  ydata = ydata(1:(length(ydata)-1));
disp(length(xdata));
set(cld(2), 'XData', xdata, 'YData', ydata);
