| Contents | qtriplot home | QTriplot Manual

Command line options

A number of options can be included in the qtriplot command line, using this syntax:

qtriplot file.tri -f file.fun

The table below lists all possible options and refers to the location in the section command reference where more details are to be found.
filename.trp read commands from file filename.trp; see replay and remarks below.
geofile add the geometry described in file geofile to the display; see file and remarks below.
-a turn on autostop.
-c colorfile [colormap] define the color per vertex for the current geometry. The name of the optional colormap should be concatinated to colorfile by a ~-sign. See colorfile.
-e elfile add electrode description elfile to the current geometry; see elfile.
-f elfile add function funfile to the current geometry; see funfile.
-m hide the menubar.
-p port accept commands and data from tcp-port port; see integration.
-s var=val set variable var to value val; see set.

In the example

qtriplot hip.tri -f hop.fun heep.tri -f hype.fun -e hope.el

hop.fun contains a function defined on hip.tri, hype.fun contains a function defined on heep.tri and hope.el contains a electrode definition on heep.tri.

A word on the command line that is not preceeded by the -c construct, where c is one of the characters in the list above, is interpreted as a file name. If the file name ends in .trp, or if the file name.trp exists, where name is the word in question, commands are read from that file. Otherwise qtriplot will try to read the file name, and interpret it as a geometry file.