Mercurial > hg > ishara
view general/cellutils/box.m @ 58:ba866ae124c6
Now accepts single color index for all points.
author | samer |
---|---|
date | Fri, 09 Oct 2015 13:01:37 +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