venn


// Usage: pl -gif vennmag.htm 
//
// Venn magnitude chart example.  scg 5/24/06

#proc getdata
  delim: tab
  data:
	#+ New York	2700	orange
	#+ Boston	700	lavender
	#+ Phila.	400	green
	#+ Balt.	300	blue
	#+ Hartfrd	170	red

#proc page
pagesize: 8 4.5
title: Venn magnitude chart example

#proc areadef
rectangle: 1 2 6 3
xrange: 0 6
yrange: 0 10
xaxis.tics: none
xaxis.stubs: none
// xaxis.stubs: datafields=1

#proc venndisk
  areafld: 2
  colorfld: 3
  areascale: 0.001
  density: 1.2
//   density: 0
  dotsize: 0.002
  outline: yes
//  solidfill: yes
  labelfield: 1