Home > m > gui > ltpdv > callbacks > ltpdv_hist_plot.m

ltpdv_hist_plot

PURPOSE ^

Handles

SYNOPSIS ^

function ltpdv_hist_plot(varargin)

DESCRIPTION ^

 Handles

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ltpdv_hist_plot(varargin)
0002 
0003 % Handles
0004 myh     = varargin{1};
0005 mainfig = varargin{end};
0006 
0007 % Get selected objects
0008 objs = ltpdv_get_selected_objs(mainfig);
0009 
0010 % Pass AOs to iplot
0011 for j=1:length(objs)
0012    obj = objs{j};
0013    if isa(obj, 'ao')
0014      plot(obj.hist);
0015    else
0016       warning('!!! Skipping object %s - it''s not an AO.', obj.name);
0017    end
0018 end

Generated on Mon 08-Sep-2008 13:18:47 by m2html © 2003