annotate 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
rev   line source
wolffd@0 1 function display(m)
wolffd@0 2 % MATRIX/DISPLAY display of a matrix
wolffd@0 3 disp(' ');
wolffd@0 4 d = get(m,'Data');
wolffd@0 5 n = get(m,'Name');
wolffd@0 6 t = get(m,'Title');
wolffd@0 7 for i = 1:length(d)
wolffd@0 8 for j = 1:length(d{i})
wolffd@0 9 figure
wolffd@0 10 h = imagesc(d{i}{j});
wolffd@0 11 set(gca,'YDir','normal')
wolffd@0 12 title(t)
wolffd@0 13 fig = get(0,'CurrentFigure');
wolffd@0 14 disp(['The ',t,' related to file ',n{i},' is displayed in Figure ',num2str(fig),'.']);
wolffd@0 15 end
wolffd@0 16 end
wolffd@0 17 disp(' ');
wolffd@0 18 drawnow