Code covered by the BSD License  

Highlights from
MGraph

from MGraph by junbai wang
Probabilistic graphical models for reconstruction of genetic regulatory networks using DNA microarra

MGraph_properties.m
global graph_form 


properties_fig=figure(50);
set(properties_fig,'Color',[0.8 1 1], ...
   	'units','normalized', ...
   	'Position',[0.55 0.07 0.32 0.45], ...
   	'DoubleBuffer','on',...
   	'Tag','properties_fig',...
    'NumberTitle','off',...
    'Name','MGraph -Properties');	
graph_format=uicontrol('Parent',properties_fig,'Style','popupmenu',...
        'Position', [ 170 250 120 20],... 
        'String', 'Decomposable | Unrestricted', ... 
        'Callback',['graph_form=get(graph_format,''Value'');']);
htxt_File1=uicontrol('Parent',properties_fig,... %'Units', 'normalized', ...
		    'Style', 'text', ...
		    'Position', [50 250 110 20], ...     %[.1 .73  .3 0.05],...
            'Backg', [1 1 0], ... 
            'Foreg', [0 0 0], ...
		    'String','Stepwise option', ... 
            'FontUnits', 'Normalized',...
		    'FontWeight',  'bold', ...
		    'HorizontalAlignment', 'left', ...
		    'Tag', 'file1text');
       %     
closeBut1=uicontrol('style','push','string','Exit',...
	'position',[ 200 60 90 20], ...
	'callback', ['delete(properties_fig); clear properties_fig;'],'Interruptible','on');

%'MenuBar','none',...
proper_axes = axes('Parent',properties_fig, ...
		 'units','normalized', ...
		 'CameraUpVector',[0 1 0], ...
		 'CameraUpVectorMode','manual', ...
		 'Color',[0.8 1 1], ...
		 'Position',[0.2 .2 1 1], ...
		 'Tag','Properties_fig_axes', ...
		 'XColor',[0.8 1 1], ...
		 'YColor',[0.8 1 1], ...
		 'ZColor',[0.8 1 1],...
         'XTick',[],...
         'YTick',[]');
axes(proper_axes);
set(properties_fig,'HandleVisibility','on');
 
        
if ~isempty(graph_form)
 set(graph_format,'Value',graph_form);
end

%%%%%%%%5

     


Contact us at files@mathworks.com