# lpfilled1

How to download and try this example

    Usage: pl -gif lpfilled1.htm

    // Use proc page to set the overall text size to 6 pt
    #proc page
    textsize: 9

    // Specify some data using proc getdata
    #proc getdata
    data:	2000	 750
    	2010 	1700
    	2015	2000
    	2020	1800
    	2025	1300
    	2030	 400

    // Define a plotting area using proc areadef
    #proc areadef
      title: Social Security trust fund asset estimates, in $ billions
      titledetails: adjust=0,0.1
      rectangle: 1 1 5 2
      xrange: 2000 2035
      yrange: 0 2000

    // Define an X axis using proc xaxis
    #proc xaxis
      stubs: inc 5
      label: Year

    // fill area under curve using proc lineplot
    #proc lineplot
      xfield: 1
      yfield: 2
      fill: pink

    // Now go back and put a red curve on top of the fill using proc lineplot
    #proc lineplot
      xfield: 1
      yfield: 2
      linedetails: color=red

    // Define a Y axis using proc yaxis
    // Do this last so that the grid lines go on top of everything else..
    #proc yaxis
      stubs: incremental 500
      grid: color=blue
      axisline: none