diff options
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/nextFig.m')
-rwxr-xr-x | SD-VBS/benchmarks/texture_synthesis/src/matlab/nextFig.m | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/nextFig.m b/SD-VBS/benchmarks/texture_synthesis/src/matlab/nextFig.m deleted file mode 100755 index e0ac73f..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlab/nextFig.m +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | % nextFig (MAXFIGS, SKIP) | ||
2 | % | ||
3 | % Make figure number mod((GCF+SKIP), MAXFIGS) the current figure. | ||
4 | % MAXFIGS is optional, and defaults to 2. | ||
5 | % SKIP is optional, and defaults to 1. | ||
6 | |||
7 | % Eero Simoncelli, 2/97. | ||
8 | |||
9 | function nextFig(maxfigs, skip) | ||
10 | |||
11 | if (exist('maxfigs') ~= 1) | ||
12 | maxfigs = 2; | ||
13 | end | ||
14 | |||
15 | if (exist('skip') ~= 1) | ||
16 | skip = 1; | ||
17 | end | ||
18 | |||
19 | figure(1+mod(gcf-1+skip,maxfigs)); | ||