Mercurial > hg > ishara
view general/cellutils/box.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 3cedfd4549ef |
children |
line wrap: on
line source
% box - wrap value in cell % box :: A -> cell {A}. % % NB. this function hides Matlab's box function which % controls the appearance of the current axis. HOWEVER, % if this function is called with no return value, then % box('on') and box('off') control the axis box as before. % None of the other box arguments patterns work. [sorry] function y=box(x), if nargout==1, y={x}; else set(gca,'Box',x); end