function []=figure3a() close all figure() hold on %% Data parameters ceiling_T_VFT=0.0907; ceiling_T_A=0.0738; T_g=mean([ceiling_T_VFT,ceiling_T_A]); %% Loading data data_name=sprintf('./cavityPTSthres.dat'); fid = fopen(data_name,'r'); numbers=fscanf(fid, '%f'); fclose('all'); Ndata=round(size(numbers,1)/2); Ts4=numbers(2*(1:Ndata)-1); xis=numbers(2*(1:Ndata)); Sconfs4=1./xis; %% Fitting x_grain=0.02*(T_g); Ts_fit=0:x_grain:T_g; where=logical(Ts4