scatterplot8

How to download and try this example

Usage: pl -gif scatterplot8.htm
This example demonstrates how clustering will display multiples of like points.
Scatterplot parameters that influence the appearance of clusters
are symbol and clusterfact.

// set up plotting region using proc areadef #proc areadef rectangle: 1 1 7 2 xrange: 0 12 yrange: 0 4 frame: width=0.5 color=0.3 // specify data using proc getdata #proc getdata #intrailer // draw points using proc scatterplot #proc scatterplot xfield: 1 yfield: 2 symbol: shape=nicecircle fillcolor=yellow radius=0.05 clusterfact: 2 // add N values using proc scatterplot #proc scatterplot xfield: 1 yfield: 2 labelfield: 3 textdetails: adjust=0,0.3 // here is the data referred to in proc getdata... #proc trailer data: 1 1 1 2 1 2 2 1 3 1 3 3 1 3 1 4 1 4 4 1 4 1 4 1 5 1 5 5 1 5 1 5 1 5 1 6 1 6 6 1 6 1 6 1 6 1 6 1 7 1 8 7 1 7 1 7 1 7 1 7 1 7 1 7 1 8 1 10 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 9 1 12 9 1 9 1 9 1 9 1 9 1 9 1 9 1 9 1 9 1 9 1 9 1 10 1 15 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 11 1 20 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1 11 1