'graph' [<amplitude> 'amp']|[<material> 'mat']|[<set> 'nr'|'time'|'descr']This keyword is mainly 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 stored in the referenced set will be written to a file called ``graph.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 correct entity was chosen before the sequence was defined, then the generation of display lists will be suppressed. The user might then use the graph command to generate the history-plot. The command
graph set nr
will display the values on the node-positions vs. the dataset-number. The command
graph set time
will display the nodal-values vs. the dataset-values (usually time) if available and command
graph set descr
will display the nodal-values vs. the dataset-description (makes only sense if the description is a numerical value).
In addition a second data-file is written ``graph.out2'' which stores the node-number and the node-coordinates and all values at this node-position for all datasets. This file can be used to display values over node-positions etc. But this is not automaticaly prepared. It is up to the user to generate a suitable plot out of this data.
The ``graph'' files can be edited and combined, for example to plot one type of value vs. one other type of value.
If an ccx- or abaqus-input-file was read then it is also possible to create time history plots of the amplitudes (*AMPLITUDE in ccx) or the material-propperties can be displayed (*MATERIAL in ccx):
graph amplitude-name amp
graph material-name mat