Venn diagrams are used to show the mathematical or logical connections between different groups of things (sets), and are especially suitable for representing the "rough relationship" between sets (or) classes. It is often used to help derivation or understand the derivation process) some laws about set operations (or class operations). Here, CD ComputaBio will introduce you to the tutorial on how to draw a Venn diagram with Origin. Let’s see how to draw a Venn diagram with Origin!
Chart drawing
If you draw a Venn diagram of two groups (two columns) of data, just select the data and click the Venn Diagram icon in the Apps window, as shown in the figure below, and click OK after the small window that pops up.
The Venn diagram of the two sets obtained is as follows:
If you are drawing a Venn diagram with 3 sets, you need to check Use Classic Background so that the graph of the Venn diagram drawn is "circular", as shown in the figure below. If you don’t check it, the graph is rectangular. It should be noted that the size of the "circle" of the Venn diagram of the two sets is related to the size of the data, which means that in most cases, the size of the circle is different.
The initial result of drawing the Venn diagram of 3 sets is as follows:
If you are not satisfied with the color matching, you can also customize the fill color and border color of the ellipse, as shown in the figure below. Keeping the border color consistent with the fill color will be more harmonious. Of course, changing the border color to white or black is also a good choice.
Data preparation
Generally speaking, data preparation often takes a lot of time during the charting process. And Origin's data filtering function will help you easily complete the data preparation work. The original data in this article are 4 processed OUT abundance tables, as follows:
Here we need to filter out the data required for drawing (OTUs with tag number not less than 1), as shown in the figure below.
The filter condition here is set to be greater than or equal to 1, and the filter can be completed as follows, and then copy the filtered OUT ID to a new table, and then only need to cancel the filter (Clear filter), and repeat the above operations for the remaining columns.