Simple Plotting

Note: Currently any data in review must be plot using standard graphics so make sure the line 'grph type stnd' is stated at the beginning of each review script.

To view the data read into Review, the grph command is used. 

    plot f1 1       % Plots data in first column of file f1


It can be hard to distinguish plots if the model has been run for a long time period. To zoom in on areas of interest, use the set command to set the window size to the desired time frame. The structure of the set command is:

set wndo <start> <finish>

It is necessary to indicate <start> and <finish>, as this command can be used for any x plane coordinate, such as time or frequency. As an example, to trim the above plot's time scale down to 0 to 5 microseconds, the following command is used:

set wndo 0. 0.5e-5

This changes the graphical display, making it easier to distinguish the signal:


It is possible to display multiple time histories on a single graph. Once the plots have been read into Review, display the plots using:

    plot f1 1 f1 2 f1 3

You can overlay time plots and correlate them on the same time and amplitude scale. Up to six time histories can be plotted on the same graph.


Although the display technique can overlay images, it is sometimes clearer to show multiple images separately in the same window. To do this, use the nvew command to configure the graphical viewports, then plot the traces individually.

    nvew 3 5    /* 3 views with type 5 layout
plot f1 1
plot f1 2 
plot f1 3

This produces a graphical display like the following: