Mercurial > hg > camir-aes2014
comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirmatrix/display.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function display(m) | |
2 % MATRIX/DISPLAY display of a matrix | |
3 disp(' '); | |
4 d = get(m,'Data'); | |
5 n = get(m,'Name'); | |
6 t = get(m,'Title'); | |
7 for i = 1:length(d) | |
8 for j = 1:length(d{i}) | |
9 figure | |
10 h = imagesc(d{i}{j}); | |
11 set(gca,'YDir','normal') | |
12 title(t) | |
13 fig = get(0,'CurrentFigure'); | |
14 disp(['The ',t,' related to file ',n{i},' is displayed in Figure ',num2str(fig),'.']); | |
15 end | |
16 end | |
17 disp(' '); | |
18 drawnow |