>how to use gnumdata ?

In order to use gnumdata, you must have a data raw text file, and a file of actions with the same name but the extension .stm ; for example, if your data are in the file essai.dat gnumdata will read essai.stm as the associated actions file.

The syntax of gnumdata is simple : just type

gnumdata essai.dat
The program will first read the actions file,then read the data and then execute the actions. All actions are not case sensitive (but their parameters are) so one can freely use upper case or lower case (or a combo of cases) to write the actions. You will then get, depending on the actions
  • an output data file gnumdata.sor
  • an output computation file gnumdata.cal
  • an output trace file gnumdata.log

Depending on the options, other files can be created, with a classical extension like .dbf for Dbase, .sas for SAS, .plt for gnuplot etc. The normal execution of gnumplot is shown of the following diagram

         

It is not possible to use directly different action files for the same data file. However, you have just to copy at its turn the needed .stm file. For instance, with the two actions files essai.St1 and essai.St2 for the same data file essai.dat you have to write

(under Dos) copy essai.St1 essai.stm gnumdata essai.dat copy essai.St2 essai.stm gnumdata essai.dat (under Unix) cp essai.St1 essai.stm gnumdata essai.dat cp essai.St2 essai.stm gnumdata essai.dat
This will run one after the other the two actions files. You don't have to copy the output files since gnumdata have OUTS, OUTL and OUTC options that will do it for you.

            gilles.hunault@univ-angers.fr