How to download and try this example
Usage: pl -gif boxplot2.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: y datafield: 1 #proc areadef rectangle: 1 1 4 4 xrange: 0 15 yrange: categories xaxis.stubs: inc xaxis.grid: color=gray(0.9) yaxis.stubs: usecategories yaxis.tics: none #proc processdata action: summaryplus fields: 1 valfield: 2 #proc categories axis: y slideamount: -0.15 #proc boxplot // uses the summaryplus output fieldnames by default... orientation: horizontal locfield: id1 barwidth: 0.07 color: xffebff legendlabel: median-based mediansym: dot printn: no #proc categories axis: y slideamount: 0.15 #proc boxplot orientation: horizontal basis: mean locfield: id1 barwidth: 0.07 color: xfff6e1 legendlabel: mean-based mediansym: dot printn: no #proc legend format: across location: min+0.2 min-0.4 outlinecolors: yes