function []= fig_adjust()
%adjust line width etc. for current figure
% to be used with photofilter

grid off;
set(gcf, 'Color', 'w');
set(gca, 'LineWidth', 2);
set(gca, 'FontSize', 20);
set(gca, 'XScale', 'linear');
% set(gca, 'YScale', 'log');
h = gcf;
axesObjs = get(h, 'Children');
dataObjs = get(axesObjs, 'Children');

if iscell(dataObjs)
    for i = 1:length(dataObjs)
        set(dataObjs{i}, 'LineWidth', 2);
        set(dataObjs{i}, 'MarkerSize', 8);
    end
else
    set(dataObjs, 'LineWidth', 2);
    set(dataObjs, 'MarkerSize', 8);
end

end