SharpPlot Reference > SharpPlot Methods > DrawVennDiagram Method SharpPlot.DrawVennDiagram Method
Draw a Venn diagram using supplied membership data.
public void DrawVennDiagram(
int[] regionValues
);
Example
sp = new SharpPlot(180,120);
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 ...Venn diagrams | SharpPlot Members | SharpPlot.VennDiagramStyle Property
Send comments on this topic © Dyalog Ltd 2021
|