Quoted By:
; GNU Data Language (IDL)
; **** The data. ****
x = [1, 2, 4, 5, 6.7, 7, 8, 10 ] ; horizontal co-ordinates
y = [40, 30, 10, 20, 53, 20, 10, 5] ; vertical co-ordinates (1st set)
y2 = [30, 28, 8, 19, 50, 22, 12, 6] ; vertical co-ordinates (2nd set)
; **** make a plot of the first set of data *****
plot,x,y,title='Should he resign?',xtitle='weeks', $
ytitle='Popularity', psym=-2
; --- Note how we use $ in the above command to continue onto the
; --- next line
; +++++++ Add the second set to the plot +++++++
oplot,x,y2,linestyle=2, psym=-6
; End of the program
end