close all
clear all

figure(1) %----------------------------------------------------------------

lw = 2;
%fill([-3 xx 2], [0 yy 0], 'y')
%plot(x,y, 'k-','linewidth',3)
%set(gca,'XTick',[],'YTick',[])
%-----------------marker dots-----------------------------------------
plot([0 2],[0 0],'k-','linewidth',lw)
axis([0 4 -2 2])
hold on
plot([3 4],[0 0],'k-','linewidth',lw)
plot(2.3,0,'-mo', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor','k','MarkerSize',4)      
plot(2.5,0,'-mo', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor','k','MarkerSize',4)      
plot(2.7,0,'-mo', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor','k','MarkerSize',4)      
ms=50; co = [.7 1 .63];
plot(0.5,0,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',co,'MarkerSize',ms)      
plot(1.5,0,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',co,'MarkerSize',ms)      
 plot(3.5,0,'-ms', 'LineWidth',lw,'MarkerEdgeColor','k',...
                'MarkerFaceColor',co,'MarkerSize',ms)      
        
%--------------------------------------------------------------------------
%text(0.05,0.03,'\fontsize{25} 0')
%text(-1.05,0.02,'\fontsize{25} \frac{a - \mu}{\sigma}')
%text(1.95,0.02,'\fontsize{25} \frac{b-\mu}{\sigma}')

% text('Interpreter','latex',...
% 	'String','$$0$$',...
% 	'Position',[0.15 .03],...
% 	'FontSize',25)
% text('Interpreter','latex',...
% 	'String','$$\frac{a - \mu}{\sigma}$$',...
% 	'Position',[-1.05 .04],...
% 	'FontSize',20)

% xw = 1.95:0.02:2.6; yw = normpdf(xw); %whiten!
% plot(xw, yw, 'w-', 'linewidth',4)
% 
m1 = 0.17; m2= 0.02;  %m1 and m2 are offsets for a nice look in EPS.
fs = 25;
 text('Interpreter','latex',	'String','$$E_1$$','Position',[0.5-m1 0-m2],'FontSize',fs)
 text('Interpreter','latex',	'String','$$E_2$$','Position',[1.5-m1 0-m2],'FontSize',fs)
 text('Interpreter','latex',	'String','$$E_{n}$$','Position',[3.5-m1 0-m2],'FontSize',fs)

%set(gca,'XTick',[],'YTick',[])
axis off
% % 
% text('Interpreter','latex',...
% 	'String','$$\Phi\left(\frac{b-\mu}{\sigma}\right)$$',...
% 	'Position',[-2.8 .34],...
% 	'FontSize',25)
% 
% 
% 

%print -depsc 'C:\Springer\Probs\Probseps\circ00L.eps'


figure(2) %----------------------------------------------------------------
plot([0 0.5],[0 0],'k-','linewidth',lw)
axis([0 4 -2 2])
hold on
plot([0.5 0.5],[-1.5 1.5],'k-','linewidth',lw)
plot([0.5 1.5],[1.5 1.5],'k-','linewidth',lw)
plot([0.5 1.5],[0.5 0.5],'k-','linewidth',lw)
plot([0.5 1.5],[-1.5 -1.5],'k-','linewidth',lw)
plot([1.5 1.5],[-1.5 1.5],'k-','linewidth',lw)
plot([1.5 2],[0 0],'k-','linewidth',lw)

%
plot(1,-0.2,'-mo', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor','k','MarkerSize',4)      
plot(1,-0.5,'-mo', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor','k','MarkerSize',4)      
plot(1,-0.8,'-mo', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor','k','MarkerSize',4)      
ms=50; co = [.7 1 .63];
plot(1, 1.5,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',co,'MarkerSize',ms)      
plot(1, 0.5,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',co,'MarkerSize',ms)      
 plot(1, -1.5,'-ms', 'LineWidth',lw,'MarkerEdgeColor','k',...
                'MarkerFaceColor',co,'MarkerSize',ms)      
        
%--------------------------------------------------------------------------
%text(0.05,0.03,'\fontsize{25} 0')
%text(-1.05,0.02,'\fontsize{25} \frac{a - \mu}{\sigma}')
%text(1.95,0.02,'\fontsize{25} \frac{b-\mu}{\sigma}')

% text('Interpreter','latex',...
% 	'String','$$0$$',...
% 	'Position',[0.15 .03],...
% 	'FontSize',25)
% text('Interpreter','latex',...
% 	'String','$$\frac{a - \mu}{\sigma}$$',...
% 	'Position',[-1.05 .04],...
% 	'FontSize',20)

% xw = 1.95:0.02:2.6; yw = normpdf(xw); %whiten!
% plot(xw, yw, 'w-', 'linewidth',4)
% 
m1 = 0.17; m2= 0.02;  %m1 and m2 are offsets for a nice look in EPS.
fs = 25;
 text('Interpreter','latex',	'String','$$E_1$$','Position',[1-m1 1.5-m2],'FontSize',fs)
 text('Interpreter','latex',	'String','$$E_2$$','Position',[1-m1 0.5-m2],'FontSize',fs)
 text('Interpreter','latex',	'String','$$E_{n}$$','Position',[1-m1 -1.5-m2],'FontSize',fs)

%set(gca,'XTick',[],'YTick',[])
axis off

%print -depsc 'C:\Springer\Probs\Probseps\circ00P.eps'




