from
CoCoMac
by James Allen Download CoCoMac.org cortical connectivity data, model it as a network, and simulate epileptic sprea
fc_hide_fitline(fitLine, fitLineLabel)
function [] = fc_hide_fitline(fitLine, fitLineLabel)
% Function to show the fitline if the 'show fitline' button is pressed, and
% hide it otherwise
if (get(findobj('tag', 'button_show_fitline'), 'value') == 0)
set(fitLine, 'visible', 'off');
set(fitLineLabel, 'visible', 'off');
else
set(fitLine, 'visible', 'on');
set(fitLineLabel, 'visible', 'on');
end