There are two ways to specify a data element to CUPLOT. One is to enter the shot number and data element name. This method is simpler for accessing single data items and is decribed in the next several sections. The other way is to use the ``Define Curve'' commands described in section 3.13.
It makes no difference whether you enter the SH command first or the DE command.
SH 55806 !shot number 55806The plot produced by either of these sets of commands is shown in Figure 1. The plot title line at the left of the top line shows that the data is waveform data (ANT) and from shot 55806, which occurred on 10/26/90 at 16:15. The right side portion of this title has the date the plot was generated. Above the plot frame is the waveform description.DE MB-IP-SL ; !plasma current waveform
GO !read and plot
DE MB-IP-SL ;
SH 55806
GO
Figure 1: Plasma current waveform
You can change just the shot or just the data element to access different data:
SH 55806DE MB-IP-SL ;
GO
SH 55805 !change just the shot number
GO
DE D-PTOT ; !change the data element
GO
CUPLOT always reads all the data for the element(s) specified, even if there is a view window in effect that selects only a subset of the data. Since reading the data can take a substantial amount of time (and other computer resources), you should avoid rereading the data if you only want to change the view window or other aspects of the plot appearance.
Slow:SH 55806 DE NB-BP-SL;
GO
XT 3 5 !change view window
GO !unnecessary read
Faster:
SH 55806 DE NB-BP-SL;
GO
XT 3 5 !change view window
P !replot