function gltpda_plotHist(handles, ax)% GLTPDA_PLOTHIST plots the history of the last selected AO in the gui% axes.% % M Hewitson 15-02-07% % $Id: gltpda_plotHist.m,v 1.1 2007/03/12 13:00:31 hewitson Exp $% % get AO arrayaos = getappdata(handles.main, 'aos');% Get selected objectsselected = get(handles.aoList, 'Value');% Choose history axesaxes(ax);a = aos.objs(selected(end));plot(a.hist);% END