Re: [Matplotlib-users] making (very simple) Venn diagrams?

2009-03-02 Thread Jonathan Taylor
Try this: from matplotlib import pyplot as plt from matplotlib.patches import Circle f = plt.figure() ax = f.gca() rad = 1.4 c1 = Circle((-1,0),rad, alpha=.2, fc ='red') c2 = Circle((1,0),rad, alpha=.2, fc ='blue') c3 = Circle((0,1),rad, alpha=.2, fc ='green') ax.add_patch(c1) ax.add_patch(c2)

[Matplotlib-users] making (very simple) Venn diagrams?

2009-03-01 Thread per freem
hi all, can someone advise on how to make simple venn diagrams, like the one here: http://en.wikipedia.org/wiki/File:Venn_diagram_cmyk.svg simply three (or more) intersecting circles, such that one can label every point of their intersection, and maybe make the circles in size proportion to the