Skip to content

Commit

Permalink
use imagesc instead of imshow
Browse files Browse the repository at this point in the history
use imagesc() instead of imshow()
  • Loading branch information
William Cox committed Jul 8, 2013
1 parent 22e9624 commit 1fcd15b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions util/visualize.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
if nargout==1
r=a;
else
if exist('imshow')
imshow(a, [mm(1) mm(2)]);
else
imagesc(a, [mm(1) mm(2)]);
end

imagesc(a, [mm(1) mm(2)]);
axis equal
colormap gray

end

0 comments on commit 1fcd15b

Please sign in to comment.