boxplot1

How to download and try this example

Usage: pl -gif boxplot1.htm

#proc getdata data: A 8 A 10 A 11 A 10 A 12 A 13 A 12 A 15 B 9 B 8 B 13 B 4 B 8 B 2 B 7 #proc categories axis: x datafield: 1 #proc areadef rectangle: 1 1 4 2.3 xrange: categories yrange: 0 15 yaxis.stubs: inc xaxis.stubs: usecategories xaxis.tics: none #proc processdata action: summaryplus fields: 1 valfield: 2 #proc categories axis: x slideamount: -0.15 #proc boxplot // uses the summaryplus output fieldnames by default... locfield: id1 barwidth: 0.07 color: xrgb(ffebff) mediansym: dot legendlabel: median-based #proc categories axis: x slideamount: 0.15 #proc boxplot basis: mean locfield: id1 barwidth: 0.07 color: xrgb(fff6e1) mediansym: dot legendlabel: mean-based #proc legend format: across location: min+0.2 min-0.4 outlinecolors: yes