How to download and try this example
Usage: pl -gif devol.htm Uses the data file devol.dat
// set page-wide attributes using proc page #proc page #if @DEVICE in gif,png scale: 0.7 0.5 #endif color: gray(0.7) // set up plotting area and axes using proc areadef #proc areadef: // rectangle: 1 1 6 5 title: Number of inquiries per month titledetails: size=18 align=C adjust=0,0.1 color=black xscaletype: date mm/yy xrange: 12/86 06/89 yrange: 0 2000 xaxis.stubs: inc 1 month xaxis.stubformat: M xaxis.autoyears: 'yy xaxis.grid: width=0.5 xaxis.stubrange: 01/87 05/89 xaxis.label: Month and year xaxis.labeldetails: adjust=0,-0.15 yaxis.stubs: inc 200 yaxis.grid: width=0.5 // read in data set using proc getdata #proc getdata: file: devol.dat // do stairstep line plot using proc lineplot #proc lineplot: yfield: 2 xfield: 1 linedetails: width=2 color=purple stairstep: yes numbers: color=purple lastseglen: 30(s) #proc annotate backdim: 11/87(s) 400(s) 1.2 0.7 ellipse: yes outline: color=red