How to download and try this example
Usage: pl -gif lineplot7.htm
// use proc getdata to define some data #proc getdata data: 2.1 C 0 1.2 B 0.2 1.6 C 0.5 1.9 C 1 2.0 C 2 2.9 A 3 3.0 C 5 5.4 D 8 // use proc getdata to set up plotting area and do axes #proc areadef rectangle: 1 1 5 2 tics: width=0.8 xrange: 0 9 yrange: 0 30 yaxis.stubs: incremental 5 yaxis.grid: color=rgb(.6,.6,1) // use proc lineplot to do the line plot with labeled pts #proc lineplot xfield: 3 yfield: 1 linedetails: color=blue width=2 #saveas: L accum: yes numbers: yes pointsymbol: shape=square fillcolor=orange radius=0.04 style=fill ptlabeldetails: adjust=0,-0.01 ptlabelrange: 1