Plot Recorder

From OpenSeesWiki
Jump to navigation Jump to search




This recorder type opens a graphical window for the plotting of the contents of the prescribed file. The prescribed file can be the output of an other recorder.

recorder plot $fileName $windowTitle $xLoc $yLoc $xPixels $yPixels -columns $xCol0 $yCol0 <-columns $xCol1 $yCol1> ...

$fileName name of file from which data will be read
$windowTitle title of window to be opened
$xLoc $yLoc $xLoc, $yLoc specifies location on screen of top left corner of window
$xPixels $yPixels $xPixels, $yPixels specifies width and height in pixels of window to open
$xCol $yCol ... integers specifying which columns to plot for x and y axis.


NOTES

  • At least one set of columns must be specified, additional ones may be specified.
  • the only way to save the image is a screen capture.


EXAMPLE

Example:

recorder Plot node.out "Nodal Displacement" 10 10 400 400 -columns 1 2



Code Developed by: fmk