# lineplot8

How to download and try this example

    Usage: pl -gif lineplot8.htm
    Uses the data files curve1.dat
    and curve3.dat

    // Read data for red curve from file curve2.dat
    //(proc getdata)
    #proc getdata
    file: curve1.dat

    // Define a plotting area using proc areadef
    #proc areadef
      rectangle: 1 1 5 2
      xrange: 331 350
      yrange: 40 120

    // Do the red curve using proc lineplot
    #proc lineplot
      xfield: 1
      yfield: 2
      fill: red

    // Read data for blue curve from file curve3.dat
    //(proc getdata)
    #proc getdata
    file: curve3.dat

    // Do the blue curve using proc lineplot
    #proc lineplot
      xfield: 1
      yfield: 2
      fill: dullyellow

    // Do axes last to prevent obliteration..

    // Define Y axis using proc yaxis
    #proc yaxis
      stubs: incremental 20

    // Define X axis using proc xaxis
    #proc xaxis
      stubrange: 335 350
      stubs: incremental 5