%
% A Macro for doing a simple automated processing.
NmrData=guidata(hMainFigure);
% disp(num2str(xlim()))
% disp(num2str(NmrData.xlim_spec))
%  NmrData.xlim_spec=xlim()
%         
% guidata(hMainFigure,NmrData); 
PlotSpectrum()
% 
%    set(hEditFn,'String',num2str(NmrData.np*2));                                     %Apply fn
%    MacTmp.lb=1;   
%    set(hEditLb,'String',num2str( MacTmp.lb));                                       %set line broadening (Hz)
% 

%   FTButton_Callback(); %Apply FT
%    ButtonAutoscale_Callback();
%    MacTmp.a=2
   
% xlim(NmrData.xlim_spec)
% disp(num2str(NmrData.xlim_spec))
% disp(num2str(xlim()))

% xlim(hAxes,NmrData.xlim_spec)
% ylim(hAxes,NmrData.ylim_spec)
guidata(hMainFigure,NmrData); 
   




