ET_PDToolkit/PDToolkit/@PDExperiment/togglePlotOptions.m

10 lines
261 B
Matlab

function[e] = togglePlotOptions(e)
option_list = findobj('UserData', 'com.mathworks.mwswing.MJScrollPane');
visible = get(option_list, 'Visible');
if strcmp(visible, 'on')
set(option_list, 'Visible', 'off');
else
set(option_list, 'Visible', 'on');
end