ctable(1) a small interface to SciYAG's Backend system

SYNOPSIS

ctable arguments ...

DESCRIPTION

ctable is a companion program for ctioga. It takes the same kind of arguments, except that instead of plotting the data acquired from the data sets, it just writes it on standard output, or perform arbitraty operations on it.

ctable was written as a toy program to debug the SciYAG Backend system, but it proved much more powerful than it looks. It can be used to do complex data analysis in a scriptable fashion.

OPTIONS

Ruby code

By default, ctable executes the code

@block = proc {|set,data,*a|
        puts "# #{set}"
        data.each do |x,y|
          puts "#{x} #{y}"
        end
      }

The following options can be used to change this behavior.

-e, --execute BLOCK
Executes the given ruby code for each set, yielding the set name and its data for each. Use set to refer to the set's name, data for it's data and args for the supplementary arguments you're passing to the script.

-f, --file FILE
The same as the -e option except that the code is read from a file rather than on the command-line.

-r, --require FILE
Has the same effect as Ruby's -r option.

-a, --arg a
Provides additionnal arguments to your code. Each -a arg option pushes the argument on the top of the args array provided to your code.

Backends and filters

See the sections BACKENDS and FILTERS in ctioga(1) for more details.

--text

--text-skip

--text-baseline

--multitext

--multitext-skip

--math

--math-samples number

--math-xrange range

--smooth number
--sort

--filter-pop

--filter-clear

AUTHOR

ctable was written by Vincent Fourmond with the help of Jean-Julien Fleck.

BUGS

ctable is most certainly not bug-free. You can use the facility at rubyforge.org to report any bug you notice: http://rubyforge.org/tracker/?func=add&group_id=1477&atid=5773. You can also use the same facility for feature requests.