How to download and try this example
Usage: pl -gif vector3.htm Demonstrate proc vector.
#proc getdata fieldnameheader: yes data: name y dir class A 0 -12 A B 0 10 A C 0 8 B D 0 -6 A E 0 -3 A F 0 0 B G 0 10 B H 0 -7 B I 0 11 A #proc areadef rectangle: 1 1 4 2 xrange: categories xcategories: datafield=1 xaxis.stubs: usecategories xaxis.stubdetails: size=12 color=green xaxis.tics: none yrange: 0 1 #proc legendentry sampletype: line label: class A tag: A details: color=blue #proc legendentry sampletype: line label: class B tag: B details: color=red #proc vector xfield: name yfield: y dirfield: dir constantlen: 0.7 colorfield: class #proc legend location: max+0.5 max-0.5