Venn diagrams

simcacl
Posts: 34
Joined: 2012-08-19
Location: Italy

I would like to make some Venn diagrams with Igor. Is it possible?
Thanks


Posts: 1899
Joined: 2007-06-29
Location: United States

You should be able to do that in a graph window using the drawing tools to draw circles, fill with color and label with drawing-tool text.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


simcacl
Posts: 34
Joined: 2012-08-19
Location: Italy

Thanks, but I am thinking something more complex, i.e. the diagram in which the intersection of the circle depends on the intersection of the dataset.
Is it possible?


hegedus
Posts: 292
Joined: 2009-03-21
Location: United States

Hi,

If you can define the coordinates programmatically then the graphic objects position and size can be placed via code.

Look up programmatic drawing in the manual.

Andy


sjr51
Posts: 258
Joined: 2012-12-16
Location: United Kingdom

simcacl wrote:
Thanks, but I am thinking something more complex, i.e. the diagram in which the intersection of the circle depends on the intersection of the dataset.
Is it possible?

I think you mean an Euler plot rather than a Venn diagram? As Andy says, you'd need to code something up. For two groups with one intersection that would be OK, but for three groups it gets more complicated. IMO, it would be quicker to jump to R or a program like eulerAPE to do this task.


Posts: 1899
Joined: 2007-06-29
Location: United States

Could you post a simple example, and the diagram you would expect?

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


simcacl
Posts: 34
Joined: 2012-08-19
Location: Italy

Something like that.

AttachmentSize
venn.png61.37 KB

Posts: 1899
Joined: 2007-06-29
Location: United States

And I suppose you want the actual areas to follow the percentages...

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


simcacl
Posts: 34
Joined: 2012-08-19
Location: Italy

yes


simcacl
Posts: 34
Joined: 2012-08-19
Location: Italy

Thanks so much for your kind response.


Back to top