you can use this function to tile all opened figures on screen. simply run spanFigures
or use it in code to span only desired figures, passing the requested figures handle vector to the function
spanFigures( hFig )
usage example:
hFig = zeros(7,1);
for n = 1 : 7
hFig(n) = figure;
plot(randn(20,2))
end
spanFigures(hFig,true,'xy')
or:
spanFigures([],true,'xy')
1.2.0.0 | replaced a for loop with a vector (embarrassing :) |
|
1.1.0.0 | added:
- consideration in the screen aspect ratio in the sorting of the figures |
Create scripts with code, output, and formatted text in a single executable document.
jkr (view profile)
Works great. Thanks.