% LMex020212_4th.m
% Example 2.2.12 p 33-34 in
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th edition
% Written by Eugene.Gallagher@umb.edu 1/14/11 37
% 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 = [40 40]; I = [5];
  venn(A,I,'FaceColor',{'w','w'},'FaceAlpha',{0.6,0.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)