A simple CL procedure that reproduces the tutorial example looks like:
procedure cltest (datafile)
string datafile
begin
begplot xw
readf (data=datafile, xcol=1, ycol=3, all=yes, mode=h )
dlimits
boxframe
points 3
label ("X axis", "Y axis", "PLOT TITLE")
endplot
end
If you enter this text into a file say called cltest.cl and use
the following commands from CL.
The data from the tutorial example will be plotted as before. One immediate advantange of this method is that we can now plot data from columns 1 and 3 of any file.po> task cltest = cltest.cl po> cltest pongoexamples$tutorial.dat
Another way in which you can create CL scripts is to use the
mkscript command.
PONGO [2exof Applications for Interactive Data Plotting [2exon 2.0-2