Assume that the following script is in a file called "simple.plot".

    data test.dat
    xcolumn 1
    ycolumn 2
    xlabel Angle
    ylabel COS( Angle )
    plot
    title Simple Plot

To make a graphic, you would type

plotl simple.plot

which would produce a graph like: