Mercurial > octave-nkf
comparison scripts/plot/close.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | eb63fbe60fab |
children | 6e1674216b99 |
comparison
equal
deleted
inserted
replaced
10548:479536c5bb10 | 10549:95c3e38098bf |
---|---|
47 figs = arg1; | 47 figs = arg1; |
48 else | 48 else |
49 error ("close: expecting argument to be \"all\" or a figure handle"); | 49 error ("close: expecting argument to be \"all\" or a figure handle"); |
50 endif | 50 endif |
51 elseif (nargin == 2 | 51 elseif (nargin == 2 |
52 && ischar (arg1) && strcmpi (arg1, "all") | 52 && ischar (arg1) && strcmpi (arg1, "all") |
53 && ischar (arg2) && strcmpi (arg2, "hidden")) | 53 && ischar (arg2) && strcmpi (arg2, "hidden")) |
54 close_all_figures (true); | 54 close_all_figures (true); |
55 else | 55 else |
56 print_usage (); | 56 print_usage (); |
57 endif | 57 endif |
58 | 58 |