Robochameleon  v1.0
screen.m
1 function screen( rows, columns, row, column )
2 %SCREEN sets the current figure into a certain possition. The screen is
3 %divided by the number of @rows and @column, and the figure is possition in
4 % @row and @column.
5 
6  scrsz = get(0,'ScreenSize');
7  height=scrsz(4);
8  width=scrsz(3);
9 
10  x = width/columns*(column-1);
11  y = height - height/rows*(row);
12  w = width/columns;
13  h = height/rows;
14  set(gcf, 'Position', [x y w h])
15 
16 end
17