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 1],[0 0],'k-','linewidth',lw)
axis([0 5 -1.5 2])
hold on
plot([1 1],[-1 1],'k-','linewidth',lw)
plot([1 2],[1 1],'k-','linewidth',lw)
plot([1 4],[-1 -1],'k-','linewidth',lw)
plot([2  2],[0.5 1.5],'k-','linewidth',lw)
plot([3 3],[0.5 1.5],'k-','linewidth',lw)
plot([2 3],[1.5 1.5],'k-','linewidth',lw)
plot([2 3],[0.5 0.5],'k-','linewidth',lw)
plot([3 4],[1 1],'k-','linewidth',lw)
plot([4 4],[-1 1],'k-','linewidth',lw)
plot([4 5],[0 0],'k-','linewidth',lw)

plot(0.5,0,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)      
            
plot(2,-1,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)       
plot(3,-1,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)       
plot(1.5,1,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)      
 plot(3.5,1,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)      
  plot(4.5,0,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)      
         
plot(2.5,1.5,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)       
plot(2.5,0.5,'-ms', 'LineWidth',2,'MarkerEdgeColor','k',...
                'MarkerFaceColor',[.7 1 .63],'MarkerSize',40)       
            
 
            
            

           
            
%--------------------------------------------------------------------------
%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.12; m2= 0.02
 text('Interpreter','latex',	'String','$$e_1$$','Position',[0.5-m1 0-m2],'FontSize',25)
 text('Interpreter','latex',	'String','$$e_2$$','Position',[1.5-m1 1-m2],'FontSize',25)
 text('Interpreter','latex',	'String','$$e_3$$','Position',[2.5-m1 1.5-m2],'FontSize',25) 
 text('Interpreter','latex',	'String','$$e_4$$','Position',[2.5-m1 0.5-m2],'FontSize',25)
 text('Interpreter','latex',	'String','$$e_5$$','Position',[3.5-m1 1-m2],'FontSize',25)
 text('Interpreter','latex',	'String','$$e_6$$','Position',[2-m1 -1-m2],'FontSize',25)
 text('Interpreter','latex',	'String','$$e_7$$','Position',[3-m1 -1-m2],'FontSize',25)
 text('Interpreter','latex',	'String','$$e_8$$','Position',[4.5-m1 0-m2],'FontSize',25)

set(gca,'XTick',[],'YTick',[])

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

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