In this directory, you will find few data files you can play with, 
along with the ruby scripts that did generate them. You will also find some
examples of files that can be used with --include (or configuration files).


trig.rb: basic sine and cosine, try

ctioga trig.dat
ctioga trig.dat @1:3
ctioga trig.dat @1:3 -l sum '@$1:$2 + $3'
ctioga trig.dat @1:3 -l 'sum squared' '@$1:$2**2 + $3**2'
ctioga trig.dat@2:3

or, it looks better like

ctioga --aspect-ratio 1 -l 'Nice circle' trig.dat@2:3

with the use of x and y ranges:
ctioga --yrange -.8:.8 trig.dat
ctioga --xrange -3:13 trig.dat



include_1.rb: small examples of user-defined functions

ctioga --math --include include_1.rb 'pol(x)'

the same between -1 and 1:

ctioga --math --math-xrange -1:1 --include include_1.rb 'pol(x)'

--include takes effect as soon as it is used on the command-line; see
how it redefines sin(x) in this case:

ctioga --math -l 'Before include' 'sin(x)' \
       --include include_1.rb -l 'After include' 'sin(x)'

function definitions are also available for the text backend, see

ctioga --include include_1.rb 'trig.dat@$1:pol($3)'


ctiogarc.rb: small examples of customization

copy it to .ctiogarc to see the effects. (you can also use --include 
ctiogarc.rb but you will miss features in ctioga_defaults).
