Skip to content

Commit

Permalink
bugfixes etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Treder committed Sep 11, 2012
1 parent cdcbd5e commit fc9df0f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion misc/opt_rmifdefault.m → misc/opt_rmIfDefault.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function opt= opt_rmifdefault(opt, isdefault)
function opt= opt_rmIfDefault(opt, isdefault)
%OPT_RMIFDEFAULT - Remove default-valued fields of opt-struct
%
%Usage:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion utils/util_catifnonequal.m → utils/util_catIfNonequal.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function out= util_catifnonequal(in, dim)
function out= util_catIfNonequal(in, dim)

if length(in)==1,
out= in{1};
Expand Down
6 changes: 3 additions & 3 deletions visualization/utils/plotutil_channel1D.m
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@
end
ils= mod(ic-1, length(opt.ChannelLineStyleOrder))+1;
if strcmpi(opt.ChannelLineStyleOrder{ils}, 'thick'),
H{ic}= plotutil_channel1D(epo, chan(ic), opt_rmifdefault(opt, isdefault), ...
H{ic}= plotutil_channel1D(epo, chan(ic), opt_rmIfDefault(opt, isdefault), ...
opt_plot{:});
elseif strcmpi(opt.ChannelLineStyleOrder{ils}, 'thin'),
H{ic}= plotutil_channel1D(epo, chan(ic), opt_rmifdefault(opt, isdefault), ...
H{ic}= plotutil_channel1D(epo, chan(ic), opt_rmIfDefault(opt, isdefault), ...
opt_plot{:}, 'LineWidth',1);
else
H{ic}= plotutil_channel1D(epo, chan(ic), opt_rmifdefault(opt, isdefault), ...
H{ic}= plotutil_channel1D(epo, chan(ic), opt_rmIfDefault(opt, isdefault), ...
opt_plot{:}, ...
'LineStyle',opt.ChannelLineStyleOrder{ils});
end
Expand Down
2 changes: 1 addition & 1 deletion visualization/utils/plotutil_channel2D.m
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
opt_plot([4 6])= {1};
end
ils= mod(ic-1, length(opt.ChannelLineStyleOrder))+1;
H{ic}= plotutil_channel2D(epo, chan(ic), opt_rmifdefault(opt, isdefault), ...
H{ic}= plotutil_channel2D(epo, chan(ic), opt_rmIfDefault(opt, isdefault), ...
opt_plot{:}, ...
'lineStyle',opt.ChannelLineStyleOrder{ils});
hold on;
Expand Down

0 comments on commit fc9df0f

Please sign in to comment.