Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Treder committed Sep 12, 2012
1 parent 2896571 commit 8ee6fc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions visualization/private/jvm_restoreFig.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
function jvm_restoreFig(jvm, varargin)

% opt= propertylist2struct(varargin{:});
opt = opt_proplistToStruct(varargin{:});
opt= opt_setDefaults(opt, {'fig_hidden', 0});
opt= opt_setDefaults(opt, {'FigHidden', 0});

if ~isempty(jvm) && ~opt.fig_hidden,
if ~isempty(jvm) && ~opt.FigHidden
set(jvm.fig, 'Visible',jvm.visible);
end
4 changes: 2 additions & 2 deletions visualization/utils/plotutil_channel1D.m
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@
opt.ColorOrder= opt.ColorOrder(1:min([nClasses size(opt.ColorOrder,1)]),:);
end
[axesStyle, lineStyle]= opt_extractPlotStyles(rmfield(opt,{'YLim','LineStyleOrder'}));
[opt, isdefault]= opt_setDefaults(opt, {'LineStyleOrder', {}, ...
'LineWidthOrder', [], ...
[opt, isdefault]= opt_setDefaults(opt, {'LineStyleOrder', {};
'LineWidthOrder', [];
'LineSpecOrder', {}} );
ns= length(opt.LineStyleOrder);
nw= length(opt.LineWidthOrder);
Expand Down

0 comments on commit 8ee6fc1

Please sign in to comment.