Contents     Functions         Previous Next     PDF Index

7.18  Criteria with CritFcn

SDT supports the use of various criteria to be applied on data. The default CritFcn implementation is present in fegui. The fields of a CritFcn structure are

 r1=(1:10)'; r1=[r1 sin(r1/max(r1)*pi)];
 R1=struct('clevel',linspace(0,1,4),'cmap',eye(3),'Fcn',fegui('@CritFcn'));
 ua=struct('name','CritFcn','ColumnName',{{'#','val';'','';
   '0','0.00'; ...  % Column formatting (java)
   R1,R1}}, ... % Define a CritFcn for coloring
  'setSort',2); % use filter-sort
 ua=menu_generation('jpropcontext',ua,'Tab.ExportTable');
 %feval(R1.Fcn,'imap',R1,r1)
 comstr(r1,-17,'tab',ua)

©1991-2016 by SDTools
Previous Up Next