inp = input('Hit <return> for next plot, k for keyboard  ','s');
if (~isempty(inp))
  keyboard;
end;
