# Example 1 -- Linegraph using data in a separate file open example1.dat # Open the data file read columns x y # Read (x,y) draw curve # Draw data curve draw title "Example 1" # A title for plot