# vector2

How to download and try this example

    Usage: pl -gif vector2.htm
    Demonstrate proc vector.

    #proc getdata
    fieldnameheader: yes
    data:
    name y dir
    A 0 -12
    B 0 10
    C 0 8
    D 0 -6
    E 0 -3
    F 0 0
    G 0 10
    H 0 -7
    I 0 11

    #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 vector
    xfield: name
    yfield: y
    dirfield: dir
    constantlen: 0.7
    linedetails: color=red