No BSD License  

Highlights from
CoCoMac

image thumbnail
from CoCoMac by James Allen
Download CoCoMac.org cortical connectivity data, model it as a network, and simulate epileptic sprea

fc_afterLoad(fig_id, net, netLabels, activ_plot_axes, circular_plot_axes)
function [circularPositions] = fc_afterLoad(fig_id, net, netLabels, activ_plot_axes, circular_plot_axes)

% Clean-up procedures to do after loading data
% Author: James Allen Date: July 2006

% Clear the list boxes, activ_plot_axes, and set animation panel to invisible
fc_clearGUI(fig_id, activ_plot_axes);

% Set the list boxes
fc_set_nodeList(netLabels, '', '', fig_id);

% Plot circular graph, return the positions of nodes for further plotting (animation)
circularPositions = fc_plotCircle(net, netLabels, circular_plot_axes);

set(activ_plot_axes, 'visible', 'off');
set(findobj(fig_id, 'tag', 'panel_animation'), 'visible', 'off');

% Set the alpha value in GUI to the square root of no. of areas (no. of
% areas is calculated by length(netLabels) )
set(findobj(fig_id, 'tag', 'alpha_editbox'), 'string', num2str(sqrt(length(netLabels))));

return

Contact us at files@mathworks.com