Sol2dat converts solution data into a plain text format. The output format follows gnuplot's `plot data-file' convention.
sol2dat [-h-a] [-bl n] (runqfile-) ofile lab ... |
-h | : | Display a usage message and exit with nonzero return value. | ||||
-a | : | Append data to output files, do not overwrite. |
run | : | Convert data of run run, may contain one %d format specifier. | ||||
qfile | : | Convert data from q.*-file qfile. | ||||
- | : | Convert data from standard input. | ||||
ofile | : | Write or append solutions to file ofile. | ||||
lab | : | Convert solutions with restart labels lab ... |
-bl n | : | # of Blank lines to separate solutions, 1=mesh data, 2=individual. |
Sol2dat converts and combines solutions from AUTO output format into a plain ASCII format text file that can be used as input to gnuplot's `plot data-file' commands. It either reads the data from the run with qualified run name run, from an explicitly specified file qfile, or, from standard input if `-' was given. The solutions with the specified labels are written or appended to file ofile, depending on whether sol2dat was invoked with the switch -a or not. The individual solutions will be separated by a number of blank lines as specified with the option -bl, default is 2, that is, gnuplot will interpret each solution as a separate curve. This is similar to the 2d and 3d plotting modes of AUTO's plotting utility plaut.
Sol2dat returns 0 on success and 1 if an error occurred or the -h switch was given.