Mercurial > hg > ltpda
comparison m-toolbox/test/gui/functions/gltpda_plotHist.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function gltpda_plotHist(handles, ax) | |
2 | |
3 % GLTPDA_PLOTHIST plots the history of the last selected AO in the gui | |
4 % axes. | |
5 % | |
6 % M Hewitson 15-02-07 | |
7 % | |
8 % $Id: gltpda_plotHist.m,v 1.1 2007/03/12 13:00:31 hewitson Exp $ | |
9 % | |
10 | |
11 % get AO array | |
12 aos = getappdata(handles.main, 'aos'); | |
13 | |
14 % Get selected objects | |
15 selected = get(handles.aoList, 'Value'); | |
16 | |
17 % Choose history axes | |
18 axes(ax); | |
19 a = aos.objs(selected(end)); | |
20 plot(a.hist); | |
21 | |
22 | |
23 % END |