Next: grpa Up: Commands Previous: gbod Contents

##
graph

       'graph' <set> 'nr'|'time'

This keyword is used to create time history plots of nodal values. For this a sequence of datasets (see Toggle Dataset Sequence) is scanned. The values of the pre-selected nodes will be written to a file called ``grap.out''. A gnuplot command file will be written called ``graph.gnu'' and executed. The resulting file ``graph.ps'' will be automatically displayed with the postscript viewer. Default is ``ghostview'' but this can be changed in the ``cgx.h'' file.

Before such a graph can be drawn, a set with the nodes of interest must be created (see qadd) and a sequence of datasets must be selected (see Toggle Dataset Sequence). Either before or after the selection of the datasets an Entity must be specified. Then the command can be typed and executed. If the entity was chosen before the sequence was defined, then the generation of display lists will be suppressed. The command
graph set nr
will display the values of the nodes of the set vs. the dataset-number. The command
graph set time
will display the values vs. the step-time if available.
The ``graph'' files could be edited and combined, for example to plot one type of value vs. one other type of value.

Next: grpa Up: Commands Previous: gbod Contents