Command D2
 GSI
 Biophysics
 display commands

 anl
 evt
 /
 dim()
 window()
 bins()
 project()
 lin
 log
 sqrt
 calib()
 xnocal
 ynocal
 isometric
 contour
 cluster
 area
 scatter
 zscale()
 format()
 colours(5,6,4,8,3,7,1)
 widths(1)
 linetypes(1)
 ncuts(7)
 cuts()
 debug
Purpose
Display (parts of) analyzer spectra with two or more
dimensions in a twodimensional representation.
Parameters
anl

Name or number of an analyzer with two or more dimensions.
If omitted, the last specified analyzer is assumed.
evt

Qualifier name or number. If omitted, the last specified qualifier is assumed.
dim(dimlist)

Analyzer dimensions to be displayed
(onto which will be projected).
Replacable default:
dimlist=1,2
.
window(w)

project(w)

Spectrum segment to be displayed, specified by
 * : analyzer limits (replaceable default)
 letter : display window identifier
 # : temporary window
 one number : analyzer condition number
 number list : lower and upper limits
for the displayed dimension
A limit omitted in the number list is replaced by the
actual value (or the analyzer limit, initially). An
asterisk (*) means the corresponding analyzer limit.
Lower limits smaller or upper limits larger than the
corresponding analyzer limit are reset to the latter.
The limits are not modified to match with the bin borders.
If a reference to a calibration 'c'
exists
for a displayed dimension
(see key word CALIB(c)
or
command
AMOD
), the number list for this dimension
refers to 'c'
(and not to the analyzer channel numbers).
If the analyzer has more than two dimensions, and if a
display window or condition number is specified, only
the limits of the actually displayed dimension are
taken from 'w'. The display window or condition limits
of the not displayed dimension(s) are used as projection limits.
bins(binlist)

List of display bin sizes.
Independent of the display limits,
bins are added always starting with the first analyzer
bins.
Default: the analyzer bin sizes.
lin

Linear data axis.
log

Logarithmic data axis.
sqrt

Square root data axis.
calib(c)

If once given, the values for the xaxis and the xaxis
description are taken from the calibration
'c'
.
'c'
consists of two names
'cname.cqual'
. If 'cqual'
is
omitted, 'CAL'
is assumed. A reference between the
calibration and the corresponding analyzer dimension is
created and remains valid for subsequent D2
commands.
Not yet implemented
xnocal

ynocal

The reference to the calibration
'c'
 if existing 
will be ignored for the current command.
isometric

Isometeric plot. Not yet implemented.
contour

Contour plot.
cluster

Cluster plot with differently sized clusters.
area

Area filling cluster plot. Useful only in colours.
scatter

Scatter plot.
Replaceable default is cluster
.
format(r)

Ratio of width and height of the spectrum, defined by
the length of the corresponding axes. Allowed values
are in the range between r = 0.4 and r = 1.7. If
r > 1.4, there is no space for informations on display
windows and points right of the spectrum display.
Replaceable default is r = 1.4.
colours(clist)

List of colour indices.
Replaceable default is
clist = "5,6,4,8,3,7,1"
.
widths(wlist)

List of width indices. Replaceable default is
wlist = 1
.
linetypes(llist)

List of line type indices. Replaceable default is
l = 1
.
With the keywords
colours
,
widths
,
linetypes
a
logical number between 1 and 10 is expected, which refers to the attributes lookup table. See the
command DATTR
for the graphic attributes assigned
to these numbers.
zscale(zlim)

Pair of values specifying the range of data values to be displayed.
A
"*"
denotes a limit taken from the spectrum itself,
an omitted value defaults to the last used limit.
ncuts()

Number of cuts in zdirection to be displayed.
Effective only if no
cuts()
are specified.
cuts()

List of cut values for
contour
or cluster
plot.
debug

Debug switch. Lots of output !
Function
Remarks
Examples
Analyzer segment, projections
D2 3 2 / ZSCALE(1,*) LOG CLU
Display analyzer no. 3 with qualifier no. 2 within the
analyzer limits (startup default).
If the analyzer has more than two dimensions,
the complete analyzer range of the third (and possibly
higher) dimension(s) is projected onto the xyplane.
Data from 1 up to the maximum spectrum count are considered.
A cluster representation with logarithmic spacing is plotted.
 GSI
 Biophysics
 display commands

Last updated: M.Kraemer@gsi.de,
3Apr2000