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