GDDM-PGF V2R1.3 Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF | BOOK


Venn diagrams

GDDM-PGF V2R1.3 Application Programming Guide
SC33-0913-01



This rare form of chart is illustrated in Figure 28 in topic 5.8.1. The data consists of three values: two populations, and an overlap. This is the plotting call:


     /*       1st population     2nd population     overlap          */
     CALL CHVENN(240,                 520,            119);

It is an error if the overlap exceeds either of the populations. The populations and the overlap can be annotated by using the CHKEY call. The three keys are attached to the first population, the second population, and the overlap, in that order (see the example Venn diagram mentioned above). As with pie charts, the XVERTICAL option can be used to place the circles one above the other, rather than side by side.

The calls and options that affect Venn diagrams are listed below. The default options are shown first:


     CHVENN                    Plots the Venn diagram
     CHSET
      'FILL'|'INFILL'|'NOFILL' Method of shading
      'YVERTICAL'|'XVERTICAL'  Orientation of circles
     CHCOL                     Basic color table for shading
     CHLC                      Line-color table
     CHLT                      Line-type table
     CHLW                      Line-width table
     CHPAT                     Shading-pattern table values

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012