scatterplot7

How to download and try this example

Usage: pl -gif scatterplot7.htm

Uses the data file scat7.dat

#proc page: pagesize: 8.5 11 #if @DEVICE in gif,png scale: 0.5 #endif title: Comparison of Scores at 3 CPI vs. 6 CPI 10-15-98 #saveas: P #proc areadef: #saveas: A title: Trial W areaname: 4nw yrange: -10 40 xrange 15 50 yaxis.label: Difference, 3 CPI - 6 CPI yaxis.labeldetails: adjust=-0.1 xaxis.stubs: inc 5 yaxis.stubs: inc 5 xaxis.label: Mean score frame: yes #proc getdata: file: scat7.dat #proc scatterplot #saveas: B yfield: 3 xfield: 4 select: @@2 = W && @@6 = n symbol: shape=triangle style=filled radius=0.06 #proc scatterplot #saveas B2 yfield: 3 xfield: 4 select: @@2 = W && @@6 = y symbol: shape=square style=filled radius=0.05 #proc line notation: scaled #saveas: L points: 15 0 50 0 /////////////////// #proc areadef: title: Trial X #clone: A areaname: 4ne yaxis.label: #proc scatterplot #clone: B select: @@2 = X && @@6 = n #proc scatterplot #clone: B2 select: @@2 = X && @@6 = y #proc line #clone: L /////////////////// #proc areadef: title: Trial Y #clone: A areaname: 4sw #proc scatterplot #clone: B select: @@2 = Y && @@6 = n #proc scatterplot #clone: B2 select: @@2 = Y && @@6 = y #proc line #clone: L /////////////////// #proc areadef: title: Trial Z #clone: A areaname: 4se yaxis.label: #proc scatterplot #clone: B select: @@2 = Z && @@6 = n legendlabel: Using procedure A #proc scatterplot #clone: B2 select: @@2 = Z && @@6 = y legendlabel: Using procedure B #proc line #clone: L #proc legend location: 1 1