next up previous contents index
Next: TASKPRINT and OPERPRINT--Shot Commentary Up: How to Look at Previous: How to Look at

CUPLOT--The Basic Display Program


CUPLOT  is a program for manipulating and displaying vector data from TFTR waveform  files, raw data  (RDT) files, 1D and 2D Ufiles , SNAP  results files, and ASCII (text) files. You can also write data as a 1D Ufile, an ASCII file, or an HDF file.

Data are identified by data element name and a shot number. You can read up to 64 data elements at a time and display these with multiple frames per page and multiple curves in each frame. The data elements entered by the DE command and the shot number entered by the SH command define the primary curves. The number of frames is determined by the number of data elements in the DE list. For example, to display one frame of the plasma current waveform vs time for shot 76767:

    $ CUPLOT
    Command[  ]? SH 76767              !select the shot number
    Command[SH]? DE MB-IP-SL ;         !select Ip waveform
    Command[DE]? G                     !go make the plot
The D2 command sets the overlay data element(s). To display 4 frames, each with 2 curves, including the Thomson Scattering waveforms vs their radius waveform: radius waveform:
    Command[  ]? SH 76767
    Command[SH]? DE 
    Command[DE]? D2
    Command[YM]? G
The S2 command sets the shot number for overlay curve(s). To display 2 frames overlaying beam power and neutron strength for 2 shots:
    Command[  ]? SH 76770              !base curve shot
    Command[SH]? S2 76769              !overlay shot
    Command[S2]? DE NB-BP-SL NE-CU-S3 ;
    Command[DE]? XT 3 5                !x-axis window
    Command[XT]? G
You can look at the same data elements for a different shot by simply entering the new shot number and typing GO; or you can just change the data elements and GO. If you are missing some data, the Menu command lists the status of all the data element reads with text descriptions of many of the error conditions.

The form of the data element name tells CUPLOT what kind of data to read:

Waveform names are up to 12 characters with a dash in either the second or third position, e.g., MB-IP-SL or M-LMODE-G

Ufiles have a dot separating the prefix and the extension and can have a preceding directory, e.g., B4050_.SVB, [YG]T.G1S where [YG] denotes YG_ALL.

SNAP channels can be entered as the channel number or name, with digraph ``S''. To look at Te vs r for shot 73268 try 252:
    $ CUPLOT SH 73268_252  DI S  DE TE ; GO

Raw data names have a dash somewhere after the third character, e.g. DFM1-FIR-FFC-6.

The digraph command, DI, sets the default directory for raw data and Ufiles (to di_ALL).

The GO command is a shorthand for the READ and PLOT commands. You can set scaling parameters which apply when the data is read. Once the data has been read, you can set or change various options that affect the appearance of the plot, such as axis windows, log scale, and descriptive text, and then PLOT the data. You can also manipulate the data using the smooth, Fourier Transform , least squares curve fit , and vector calculator functions.

The H (single letter) command gives a one-page list of the commands. The HELP command from within CUPLOT calls up the same help file as the VMS command $ HELP CUPLOT. CUPLOT is described in the ``Guide to CUPLOT on the VMS Cluster'', which is available in hardcopy or via the TFTR documents Web page. CUPLOT is maintained by Marilee Thompson.

next up previous contents index
Next: TASKPRINT and OPERPRINT--Shot Commentary Up: How to Look at Previous: How to Look at

Marilee Thompson
Fri Jul 11 11:22:04 EDT 1997