function rtanalysis2(filename)
%
ff = fullfile('C:\Documents and Settings\achim\My Documents\MagMeasurements\QM-001\',...
           filename)
% time(min), imag(A), rmag(mohm), T0(C), T1(C), T2(C)
[timem, imag, rmag, t0,t1,t2,t3,t4 ] =...
      textread(ff, '%f %f %f %f %f %f %f %f');
n=length(timem)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Plot, for both sensors, the Temp and Temp-Ambient Temp:
% fitnplot(t,x,plotnumber,filename,varname,vartype)
fitnplot(timem,t0,1,filename,'Temp1', 'Temperature[C]')
fitnplot(timem,t1,2,filename,'Temp2', 'Temperature[C]')
fitnplot(timem,t0-t2,3,filename,'Temp1-Amb','DTemperature[C]')
fitnplot(timem,t1-t2,4,filename,'Temp2-Amb','DTemperature[C]')
%%%%%%%%%%%%End of rtanalysis
end  