// Specify some data using proc getdata
#proc getdata
data: 0 0 0
0.5 1.6 0.5
1 1.9 0.9
2.0 2.0 1.4
3 3.2 2.3
5 4.2 2.5
8 3.9 2.1
// set up the plotting area using proc areadef
#proc areadef
rectangle: 1 1 2.5 1.7
xrange: 0 14
yrange: -1 6
// Do green grid lines using proc yaxis
#proc yaxis
ticincrement: 1
grid: color=green
stubs: none
tics: none
axisline: none
// Do 1st curve using proc lineplot
#proc lineplot
xfield: 1
yfield: 2
linedetails: color=red
stairstep: yes
lastseglen: 3(s)
// Do 2nd curve using proc lineplot
#proc lineplot
xfield: 1
yfield: 3
linedetails: color=black
stairstep: yes
lastseglen: 3(s)