comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirmatrix/display.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:cc4b1211e677
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