% LMex020301_4th.m
% Example 2.3.1 p 38-39 in
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th edition
% Written by Eugene.Gallagher@umb.edu 1/14/11
% http://alpha.es.umb.edu/faculty/edg/files/edgwebp.html
% Plot a simple 2-circle venn diagram with custom patch properties
  figure, axis equal, axis off
  A = [.3 .5]; I = [.1];
  % venn(A,I,'FaceColor',{'w','w'},'FaceAlpha',{0.6,0.6},'EdgeColor','black')
   venn(A,I,'FaceColor',{'w','g'},'FaceAlpha',{.2,.6},'EdgeColor','black')
  % These diagrams can't be edited properly within Matlab, but they do
  % provide the basis for editing outside of Matlab.
 % gtext will place the labels A and B
  gtext('A','FontSize' ,20);gtext('B','FontSize',20)
  figure(gcf);pause
