Image :

MetaPost

Source :


input venn;

pair A,B,T[];
A = (.4venn_width-.5venn_circle_diameter,.5venn_height);
B = (.6venn_width+.5venn_circle_diameter,.5venn_height);
T1 = (.5venn_width,0);
T2 = (.5venn_width,.5venn_height-.5venn_circle_diameter);

transform S;
S = identity shifted (4cm,0);

beginfig(1);
 draw_venn_two(false,true,false,false);
 label.lft(btex $A$ etex,A);
 label.rt(btex $B$ etex,B);
 label.bot(btex $A\setminus B$ etex,T1);
 draw_venn_two(false,true,false,false) transformed S withcolor white;
 label.lft(btex $A$ etex,A transformed S);
 label.rt(btex $B$ etex,B transformed S);
 label.bot(btex $A\setminus B$ etex,T2 transformed S);
endfig;
end
    

retour