diff m-toolbox/classes/@workspaceBrowser/cb_explore.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@workspaceBrowser/cb_explore.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,33 @@
+% CB_EXPLORE explore the selected objects.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% CB_EXPLORE explore the selected objects.
+%
+% $Id: cb_explore.m,v 1.2 2010/01/22 15:59:27 ingo Exp $
+%
+function cb_explore(varargin)
+  
+  
+  wb = getappdata(0, 'WorkspaceBrowser');
+  
+  objs = workspaceBrowser.getSelectedObjects(wb);
+  
+  ltpda_explorer(objs)
+  
+%   for kk=1:numel(objs)
+%     obj = objs{kk};
+%     if isa(obj, 'ltpda_uoh')
+%       try
+%         dotview(obj.hist, plist('filename', sprintf('temp%d.pdf', kk)));
+%       catch
+%         plot(obj.hist);
+%       end    
+%     else
+%       disp(['can''t plot the history of a ' class(obj)]);
+%     end  
+%   end
+end
+
+
+
+