# lineplot1

How to download and try this example

    Usage: pl -gif lineplot1.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

    // Define a Y axis using proc yaxis
    #proc yaxis
      stubs: incremental 500
      grid: color=blue

    // Do the red curve using proc lineplot
    #proc lineplot
      xfield: 1
      yfield: 2
      linedetails: color=red