function DM_change_profilelimits(handles)

global data

prompt={'Enter lower elevation limit (m)','Enter upper elevation limit (m)'};
name='Change Profile Limits';
numlines=1;
defaultanswer={num2str(data.profile_lim_min),num2str(data.profile_lim_max)};
options.Resize='off';
options.WindowStyle='normal';
answer=inputdlg(prompt,name,numlines,defaultanswer,options);

if ~isempty(answer)
data.profile_lim_min = str2num(answer{1});
data.profile_lim_max = str2num(answer{2});
end