Mercurial > hg > ltpda
annotate m-toolbox/m/gui/ltpdv/callbacks/ltpdv_hist_plot.m @ 46:ca0b8d4dcdb6 database-connection-manager
Fix
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:27 +0100 |
parents | f0afece42f48 |
children |
rev | line source |
---|---|
0 | 1 function ltpdv_hist_plot(varargin) |
2 | |
3 % Handles | |
4 myh = varargin{1}; | |
5 mainfig = varargin{end}; | |
6 | |
7 % Get selected objects | |
8 objs = ltpdv_get_selected_objs(mainfig); | |
9 | |
10 % Pass AOs to iplot | |
11 for j=1:length(objs) | |
12 obj = objs{j}; | |
13 if isa(obj, 'ao') | |
14 plot(obj.hist); | |
15 else | |
16 warning('!!! Skipping object %s - it''s not an AO.', obj.name); | |
17 end | |
18 end |