clear all
close all


 disp('Non-central t with parameters -1,0,1')
 lw = 2; 
 set(0, 'DefaultAxesFontSize', 16);
 fs = 15;
 msize = 10;



x = (-6:0.02:7)';
nct1 = nctpdf(x,8,-1);
t = tpdf(x,8);
nct2 = nctpdf(x,8,2);
plot(x,nct1,'b-','LineWidth',lw)
hold on
plot(x,t,'k-','LineWidth',lw)
plot(x,nct2,'r-','LineWidth',lw)
axis tight
legend('nct_{8,-1}','t_8','nct_{8,2}')

% print -depsc 'C:\Brani\Courses\bmestatu\BMESBOOK\Norm\nct.eps'