df=1:12;alpha=.05;p=1-alpha/2;fyt = tinv(p,df);bar(df,fyt);grid
ylabel('Student''s t','FontSize',18),xlabel('df','FontSize',18);figure(gcf)