proc venndisk


Version 2.32

Scripts


Manual page for proc_venndisk(PL)

proc venndisk is used to create Venn diagrams. Each invocation of proc venndisk creates one disk. Ploticus colors the disk with lots of tiny dots, so that overlap between disks can be seen. Disk sizes are controlled using the area attribute.


Click to see example code



Attributes

location and area must be supplied.

location     x y

Location of the center of the disk. Typically absolute units, but may be scaled units if (s) is appended to x and y values (requires an areadef).
Example: location: 3 4
Example: location: 44(s) 48(s)

area     square inches (or cm)

The area of the disk in square inches or cm (whatever you're using as absolute units).
Example: area: 8

color     color

Color of the disk.

label     text

A label to appear in a legend. The \n construct can be used to force a line break when the legend is displayed, or the label can be wordwrapped using proc legend wraplen attribute. proc legend must be invoked afterwards to render the legend.

density     h

This allows the density of the dot fill to be adjusted. 1.0 is the default. A lower value reduces the dot density; a higher value increases dot density. A value of 0 turns off dot fill.

outline     linedetails | no | yes | bevel

Default is yes. If yes or a linedetails specification is given, disk is outlined. If no, disk is not outlined.
Exmaple: outline: width=1.0

dotsize     h

h is a value in absolute units controlling the size of the fill dots (actually tiny line segments; h is the length of each tiny segment). Default is 0.008 (inches). If you're not seeing fill dots on your output device try raising this value slightly. You can also try 0.0 to get actual dots on some (but not all) output devices.


data display engine  
Copyright Steve Grubb


Markup created by unroff 1.0,    August 23, 2005.