Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stenvala committed May 20, 2014
1 parent 34b4ea4 commit e112655
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion @dpMesh/plot2d.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
param = setDefaultParameters(defaults,varargin);
param.showTagColors = 0;
c = struct2fullcell(param);
this.plotPhysicalDomains2d(c{:});
h = this.plotPhysicalDomains2d(c{:});

end

2 changes: 1 addition & 1 deletion @dpMesh/plot3d.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
param = setDefaultParameters(defaults,varargin);
param.showTagColors = 0;
c = struct2fullcell(param);
this.plotPhysicalDomains3d(c{:});
h = this.plotPhysicalDomains3d(c{:});
end
2 changes: 1 addition & 1 deletion @dpMesh/setDimensionToView.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function setDimensionToView(this)
if this.dim == 2
view([0 90]);
else
view([-18 54]);
view([-42 36]);
end

end
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
'height',16,'width',16',...
'view',[-42 36],...
'figure',1,'offsetx',1,'title','From Comsol mesh',...
'faceAlpha',0.5,...
'faceAlpha',.8,...
'faceColor','white','xlabel','$x$','ylabel','$y$','zlabel','$z$',...
'useLatex',1);

0 comments on commit e112655

Please sign in to comment.