Skip to content

Commit cc77d25

Browse files
author
Junpeng Lao
committed
Add docstring for helper function
1 parent 61eefe8 commit cc77d25

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitattributes

Whitespace-only changes.

imap_utilities/imsqrmat.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
function [himgsc,hStrings] = imsqrmat(mat, varargin)
22
% pretty display for small (near)square matrix
3+
% Usage:
4+
% [himgsc,hStrings] = imsqrmat(mat)
5+
% [himgsc,hStrings] = imsqrmat(mat, TickXY)
6+
% [himgsc,hStrings] = imsqrmat(mat, TickX, TickY)
37
%--------------------------------------------------------------------------
48
% Copyright (C) iMap Team 2016
59

@@ -33,5 +37,5 @@
3337
'YTick', 1:size(mat,1),...
3438
'YTickLabel', TickY,...
3539
'TickLength', [0 0],...
36-
'xdir','reverse','ydir','normal');
40+
'xdir','normal','ydir','reverse');
3741
end

0 commit comments

Comments
 (0)