function plotit_0 b = 0; n1 = 1.3; input = 0; n2 = 1.1:0.01:1.5; s = size(n2); a1 = [0 30 45]; for i = 1:3, for t = 1:s(2), r(t) = n2(t); d(t,i) = deviation(input,a1(i),a1(i),b,n1,n2(t)); end; end; plot(r,d) line([1.1 1.3],[0 0],'LineStyle','-.'); line([1.3 1.3],[-15 12],'LineStyle','-.'); text(1.12,13,'First tapered plate index of refraction = 1.30',... 'FontSize',10,'FontWeight','demi'); text(1.12,11.5,'Interface angle = 0 degrees',... 'FontSize',10,'FontWeight','demi'); text(1.33,-5,'---- Both block angles = 0 degrees','color','b',... 'FontSize',10); text(1.33,-6.5,'---- Both block angles = 30 degrees','color',[0 .6 0],... 'FontSize',10); text(1.33,-8,'---- Both block angles = 45 degrees','color','r',... 'FontSize',10); xlabel('Second tapered plate index of refraction','color','b',... 'FontSize',12,'FontWeight','demi'); ylabel('Angular deviation from horizontal','color','b',... 'FontSize',12,'FontWeight','demi'); title('Angular Deviation Provided by "Light Guiding Device"','color','r',... 'FontSize',14,'FontWeight','demi');