// Plot some data values on a bar graph
graph width=6,height=4
data 12,35,66,33,57,88,24,55,9999

x = 10
100
read y
print y
if y = 9999 then goto 900
shape filltype=solid,fillcolor=(0,255,180)
shape left=x-3,right=x+3,top=y,bottom=0,rectangle
x=x+10
goto 100
900
