How to download and try this example
Usage: pl -gif scatterplot3.htm Points are denoted using symbols + characters
#proc page #if @DEVICE in gif,png scale: 0.7 #endif // set up plotting region using proc areadef #proc areadef rectangle: 1 1 4 4 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: scaled linedetails: width=0.5 color=0.8 points: 0 0 80 80 // draw pink points using proc scatterplot #proc scatterplot xfield: 1 yfield: 2 symbol: shape=nicecircle fillcolor=pink radius=0.1 text: A legendlabel: Alpha type N=@@NVALUES // draw yellow points using proc scatterplot #proc scatterplot xfield: 2 yfield: 3 symbol: shape=nicecircle fillcolor=yellow radius=0.1 text: B legendlabel: Beta type N=@@NVALUES // render legend in upper-left corner using proc legend #proc legend location: min+0.3 max-0.1 #proc trailer data: 5 8 12 10 9 15 56 51 22 56 51 30 17 22 33 28 27 35 56 51 40 56 51 42 56 51 44 32 22 46 42 45 48 43 39 50 56 51 20 56 51 22 54 72 24 55 55 28 56 37 32 56 51 34 56 51 44 56 52 50 57 54 52 60 65 57 56 51 40 56 51 42 56 51 46