Download this file

9 lines (8 with data), 263 Bytes

1
2
3
4
5
6
7
8
9
% produces a blank figure with everything turned off
% hf = blankFigure(axLim)
% where axLim = [left right bottom top]
function hf = blankFigure(axLim)
hf = figure; hold on;
set(gca,'visible', 'off');
set(hf, 'color', [1 1 1]);
axis(axLim); axis square;