% xsubplot.m - generate subplots for crossed axes
% RMM, 5 Jan 08
function xsubplot(layout)

switch layout
  case 221
    axes('position', [0.05 0.55 0.4 0.4]);
  case 331
    axes('position', [0.05 0.55 0.25 0.25]);
  otherwise
    fprintf(2, 'Unsupported layout');
end
