Next: grps Up: Commands Previous: gonly Contents

##
graph

       'graph'  [<amplitude> 'amp']|
                [<material> 'mat']|
                [<seq> 'length']|
                [<set>|'-p' 'nr'|'time'|'descr'|<parameter-name> ->
                  [<Dataset-name> <entity-name>|<parameter-name> ] ->
                    [<first-Dataset-Nr> <last-Dataset-Nr>]  ]

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 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. The default is ''ghostview'' but this can be changed in the ''cgx.h'' file before the program is build.

A set with the nodes of interest must be created (see qadd) before a graph can be drawn. This set has to be of the sequence type if the parameter l (length) is used to plot values along the length of a set of nodes:
graph seq length
A sequence can be created with the ``qseq'' command. The length is calculated as the sum of the distances between successive nodes.

Since version 1.8, there are two ways of operation. One way is to specify the Datasets and the entity as parameters of the command
graph set time DISP D1
which will display the displacement D1 of nodes in ''set'' vs. the dataset-time of all ''DISP'' Datasets. The first and the last dataset can be specified optionally.

For the traditional way, a sequence of datasets must have been selected (see Toggle Dataset Sequence). After the selection of the datasets, an Entity must be specified. Then, the user could use the graph command to generate the history-plot of this pre-defined sequence. 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 the command
graph set descr
will display the nodal-values vs. the dataset-description (only makes 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. 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. another 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-properties can be displayed (*MATERIAL in ccx):
graph amplitude-name amp
graph material-name mat
The parameters related to datasets can also be displayed with the graph command:
graph -p time DISP HID
This command plots the nodal-diameters used in a cyclic symmetry calculation over the frequency (the freqency is stored at the time-position for this type of calculation). Only few parameters are written from ccx in frd-format. But the user might define his own parameters when he writes data in frd-format (see Parameter Header Record for the format).

Next: grps Up: Commands Previous: gonly Contents