# colorfld

How to download and try this example

    Usage: pl -gif colorfld.htm
    Demonstrates different colored bars using colorfield.
    Also demonstrates colored legend text entries.

    #proc getdata
    data:
    	7 r
    	10 r
    	5 b
    	7 b
    	8 g
    	12 g

    #proc areadef
    rectangle: 1 1 3 2
    xrange: 1 8
    yrange: 0 15

    #proc legendentry
    sampletype: color
    label: Red bars
    details: red
    tag: r

    #proc legendentry
    sampletype: color
    label: Blue bars
    details: blue
    tag: b

    #proc legendentry
    sampletype: color
    label: Green bars
    details: green
    tag: g

    #proc bars
    lenfield: 1
    colorfield: 2

    #proc legend
    location: 3 max
    colortext: yes