# legend0

How to download and try this example

    Usage: pl -gif legend0.htm
    Source: Steffen R et.al., Epidemiology, Etiology and Impact
    of Traveler's Diarrhea in Jamaica, JAMA 3/3/99 p. 815.

    #proc getdata
    data:
    //    Mild    Moderate Classic  HA      HB
    	23	18	10	10	35
    	21	17	9	16	22
    	28	24	13	24	39
    	30	25	15	24	38
    	28	24	14	16	29

    #proc areadef
      rectangle: 1 1 2.5 1.7
      xrange: 0 6
      yrange: 0 40

    #proc lineplot
      yfield: 1
      fill: pink
      legendlabel: Mild TD

    #proc lineplot
      yfield: 2
      fill: powderblue
      legendlabel: Moderate TD

    #proc lineplot
      yfield: 3
      fill: green
      legendlabel: Classic TD

    #proc lineplot
      yfield: 4
      pointsymbol: shape=triangle style=filled fillcolor=black
      linedetails: width=0.5
      legendlabel: Hotel A

    #proc lineplot
      yfield: 5
      pointsymbol: shape=square style=filled fillcolor=black
      linedetails: width=0.5
      legendlabel: Hotel B

    #proc legend
      location: max max