I'm not sure what you are trying to graph. I don't know what the T and S variable are suppose to be. Here is a guess of what I think you could be looking for:
T4=833.15;
Tmax=1407;
st1=1.661;
T2ac=603;
st2ac=2.4143;
S2ac=6.193;
st3=3.368;
S3ac=7.8666;
st_23=st2ac:.001:st3;
DDD(1:length(st_23))=st_23(1:length(st_23))-st2ac+S2ac;
t_2_3=linspace(T2ac,Tmax,length(DDD));
semilogx(t_2_3,DDD)


