scatterplot5

How to download and try this example

Usage: pl -gif scatterplot5.htm

#setifnotgiven CGI = "http://ploticus.sourceforge.net/cgi-bin/showcgiargs" // set up plotting region using proc areadef #proc areadef rectangle: 1 1 3 3 xrange: 0 80 yrange: 0 80 frame: width=0.5 color=0.3 xaxis.stubs: inc 10 yaxis.stubs: inc 10 // specify data using proc getdata #proc getdata #intrailer // draw diagonal line using proc line #proc line notation: locval linedetails: width=0.5 color=0.8 points: min min max max // draw pink points using proc scatterplot #proc scatterplot xfield: 2 yfield: 1 labelfield: 4 clusterfact: 2 clickmapurl: @CGI?state=@@4 #proc trailer data: 5 8 12 NY 10 9 15 NJ 56 51 22 KY 56 51 30 PA 17 22 33 MD 28 27 35 RI 56 51 40 MA 56 51 42 OH 56 51 44 VA 32 22 46 DC 42 45 48 FL 43 39 50 GA 56 51 20 MI 56 51 22 AL 54 72 24 TN 55 55 28 IL 56 37 32 MI 56 51 34 NH 56 51 44 CT 56 52 50 VT 57 54 52 IN 60 65 57 TX 56 51 40 CA 56 51 42 CO 56 51 46 WA