function new_cont = reset_cont(cont_val)
%function new_cont = reset_cont(cont_val)
%This allows the user to interactively specify a new set of contour
%values after being told the old ones.

%     Copyright J. V. Mansbridge, CSIRO, july  5 1993

cont_val
k = menu('Do you want the contour values to be reset?', 'yes', 'no');
if k == 1
  %x1 = input('Put in the starting value  ');
  %x2 = input('Put in the increment  ');
  %x3 = input('Put in the finishing value  ');
  %str = ['new_cont = ' num2str(x1) ':' num2str(x2) ':' num2str(x3) ';'];
  xstr = input('Put in a vector of contour values, cont_val = ', 's');
  str = ['new_cont = ' xstr ';'];
  eval(str)
else
  new_cont = cont_val;
end
