function h3d_debug_display_hs(s) figure; ff = []; for i=1:6 f = squeeze(s.cube_hs(i, :, :)); ff = [ff f]; end subplot(2,1,1); imagesc(ff) subplot(2,1,2); imagesc(log(ff))