Hello, I am trying to plot a normal distribution curve together with a kernel density and the histogram of the data using the code below. However, when I plot them I can see that the normal distribution curve is truncated up to some point as you can see in the image below. My question is How can I extend this curve a little bit more?

` figHandler=figure; h1=histfit(rho_fec(:,1),30,'normal'); set(h1(1),'facecolor',[.8 .8 1]); set(h1(2), 'color' ,'b'); hold on; h2=histfit(rho_fec(:,1),30,'kernel'); set(h2(1),'facecolor',[.8 .8 1]); uistack(h1,'up'); axis([0.3 0.6 0 110]); xlabel('$\hat{\rho}$','Interpreter','latex','FontSize',13) l=legend([h1(2) h2(2)],' Std. Normal density',' Kernel density',... 'Location',[0.67,0.80,0.1,0.1]); set(l,'Interpreter','latex','FontSize',14) legend boxoff; hold off;`

## Best Answer