Skip to content

Commit

Permalink
Add docstring for helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
Junpeng Lao committed Nov 25, 2017
1 parent 61eefe8 commit cc77d25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Empty file added .gitattributes
Empty file.
6 changes: 5 additions & 1 deletion imap_utilities/imsqrmat.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
function [himgsc,hStrings] = imsqrmat(mat, varargin)
% pretty display for small (near)square matrix
% Usage:
% [himgsc,hStrings] = imsqrmat(mat)
% [himgsc,hStrings] = imsqrmat(mat, TickXY)
% [himgsc,hStrings] = imsqrmat(mat, TickX, TickY)
%--------------------------------------------------------------------------
% Copyright (C) iMap Team 2016

Expand Down Expand Up @@ -33,5 +37,5 @@
'YTick', 1:size(mat,1),...
'YTickLabel', TickY,...
'TickLength', [0 0],...
'xdir','reverse','ydir','normal');
'xdir','normal','ydir','reverse');
end

0 comments on commit cc77d25

Please sign in to comment.