function setcolours(bg,fg)
% setcolours - set default foreground and background colours for figures
%
% setcolours :: colour ~'background', colour ~'foreground' -> action.
%
% colour ::= [[1,3]] | {'k','r','g','b','c','m','y','w'}.
%
% Background colour is applied to figure and axes background.
% Foreground colour is applied to axes lines and labels.

set(0, ...
	'DefaultAxesColor',bg, ...
	'DefaultFigureColor',bg, ...
	'DefaultTextColor',fg, ...
	'DefaultAxesxColor',fg, ...
	'DefaultAxesyColor',fg, ...
	'DefaultAxeszColor',fg);
