Mercurial > hg > ishara
view general/cellutils/box.m @ 44:3cedfd4549ef
Code added since initial check in.
author | samer |
---|---|
date | Tue, 13 Jan 2015 14:03:17 +0000 |
parents | |
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