SCAN items

GQE items are accessed via the methods set() and get(). They are available after an object has been constructed. Here is an example:

  use Spectra; 
  use GQE; 

  $s1 = SCAN->create( name => "test");
  #
  # get/set an item
  #
  $colour = $s1->get( "colour");
  $s1->set( colour => "blue");

The following table displays a list of SCAN items.

at
The viewport selection, e.g. at => "(2,3,3)" means that the screen is logically divided into 2 columns and 3 rows. The position of the scan is in cell no. 3.

colour
The colour: black, read, green, blue, etc., see 7.4.3.

curr
The number of valid points.

doty
If 1, the x-values are understood as date-of-the-year values. Spectra displays date strings at the big tic marks.

integral

max_x, max_y, min_x, min_y
The highest/lowest data values.

mean_x, mean_y

name

np, total
The total number of points.

primitive
The primitive type: line, marker, histogramm, etc, see 7.4.3.

sigma_x, sigma_y

size
The size, default: 1.

sum
The sum of the y-values.

type
The line or marker types, see 7.4.3, 7.4.3.

x_maj, y_maj
The big tic mark factor.

x_maj_off, y_maj_off
The big tic mark factor offset.

x_max, y_max, x_min, y_min
The window limits.

x_shift, y_shift
The offset of the axis.

x_tic, y_tic
The tic distance.

x_tic_off, y_tic_off

x_log, y_log
1: logarithmic scaling, 0: linear

com_1, com_2, ...
A comment line, max: 10.

The following parameters are identified by names and number. The numbers are returned by get(). The set() function uses both.

The available colours are:
White (0),
Black (1),
Red (2),
Green (3),
Blue (4),
Cyan (5),
Yellow (6),
Magenta (7),
Grey85 (8),
Grey50 (9).

These are the primitive types:
Line (0),
Marker (1),
Histogram (2),
FilledHistogram (3),
FilledLine (4),
LineAndMarker (5).

The line types:
Solid (0)
Dotted ....... (1)
Dotted1 . . . . (2)
Dashed - - - - (3)
Dashed1 - - - (4)
DashedDotted - . - . (5)
DashedDotted1 - ... - ... (6)
DashedDotted2 - ..... - ..... (7)
DashedDotted3 - - . - - . (8).

These are the marker types:
Dot (0)
Plus (1)
Star (2)
Circle (3)
DiagonalCross (4)
SolidCircle (5)
TriangleUp (6)
SolidTriangleUp (7)
TriangleDown (8)
SolidTriangleDown (9)
Square (10)
SolidSquare (11)
BowTie (12)
SolidBowTie (13)
Hourglass (14)
SolidHourglass (15)
Diamond (16)
SolidDiamond (17),