Reference > Methods > DrawVennDiagram Method

SharpPlot.DrawVennDiagram Method

Draw a Venn diagram using supplied membership data.

public void DrawVennDiagram(
    int[] regionValues
);

Example

sp.SetMargins(12,12,4,4);
sp.VennDiagramStyle = VennDiagramStyles.Filled;
sp.DrawVennDiagram(new int[] {27,19,8});

The short tutorial has several more variations on the basic design.

Description

The Venn diagram shows a diagrammatic view of Set membership data, using the correct proportions for the simply case with 2 populations (and 1 overlap) and a simple diagram with intersecting circles for the 3-area case.

Only simple proportional (2-area) and diagrammatic (3-area) diagrams are supported.

See also ...

Using Venn diagrams | SharpPlot Members | VennDiagramStyle Property


Send comments on this topic
© Dyalog Ltd 2013