How to make a whitewashed stacked plot

10/15/97, IUNMR, notes by MDP

If your data is NOT an array (1 data file of a series of spectra), you must combine your separate 1D data files into 1 array data file:

  1. Type jexp5. Recall a 1D data file and type wft. This step verifies that your exp5 area is OK.
  2. Type jexp1. Recall the first 1D data file for the stacked plot (this will be the spectrum on the bottom of the stack). You don't have to process the data.
  3. Type clradd to clear the add/subtract buffer (in exp5) and type add to add the first spectrum to the add/subtract buffer.
  4. Recall the next data file for the stacked plot. Type add('new') to add this spectrum to the add/subtract buffer.
  5. Repeat the previous step for the remaining spectra.
  6. Type jexp5.
  7. Select a parameter to act as a "dummy array variable" (I usually choose d2). Type d2=1,2,3,4,...
  8. Open a UNIX shell. Type vi vnmrsys/exp5/procpar. Edit this file so that the following text:
    arraydim 7 1 32768 1 1 2 1 5 1 64
    1 1
    0

    is changed to:
    arraydim 7 1 32768 1 1 2 1 5 1 64
    1 4
    0
    The vi commands that accomplish this are:
    1. Type /arraydim
    2. use the arrow keys to place the cursor over the second 1 in the second line.
    3. Type s4<escape> where "4" is the number of spectra and <escape> is the escape key
    4. Type :wq to exit the vi editor
    5. Type exit to close the UNIX window.
  9. Type gain=1 calcdim arraydim? The value of arraydim should now equal the number of spectra of your array.
  10. Type groupcopy('current','processed','acquisition')
  11. Save your new array data as a new data file.

To create a whitewashed plot, adjust the following parameters:

sc start of chart. To shift right-to-left, sc=0. To shift left-to-right, sc = (# of spectra -1)(ho).
Note that you will get NO left-to-right shift if sc=0.
wc width of chart. wc should equal 250 - (# of spectra -1)(ho)
ho horizontal offset (negative to shift left-to-right, positive to shift right-to-left)
vo vertical offset
vs vertical scale

Finally: