CUSTOMIZE THE PAGE (all panels)

When pressing the Graphics->Page->Control in the igr menubar the Page Control Dialog appears.
This Dialog is used to customize the igr page (all igr panles).

The options in the Page Control Dialog :

Expand Text
The Expand text toggle button is used to customize the length of the plot names printed in the top of each panel.
When the Expand text toggle button is on/in the quantity names are expanded.
Example:
(Cluster 1 efw E p1 10Hz - Cluster 1 efw E p3 10Hz) [-1.716,1.992]
When the Expand text toggle button is off/out the quantity names are not expanded. In the same example as above is now written:
(q0 - q1) [-1.716,1.992]
In this case the user must use the Quantity Dialog (Select->Quantity) to see what parameters each quantity contains.

Continous Mode
The Continuous mode toggle button is used to set igr into continuous mode.
In this case the user should use the Continuous mode option in the ctm time manager.
The interval displayed in the igr panel is the whole interval from the Start time to the Continuous time in the ctm time manager.
When the Run button is pressed in ctm the plotting start. When the whole continuous interval is displayed the Continuous mode in ctm and igr are automatically set off.
The scale has to be set to manual for the current plot, see ScaleY setting.
Because the data from the whole continuous interval is not stored in memory, a redraw of the window will redraw only the last (small) data interval read from the data base server and not the whole continuous interval. It is important that the user do not cover, resize or do anything else with the igr window and trigger a redraw request when the client is drawing i continuous mode.
In order to print to a postscript file in Continuous mode the user must first press the Continuous mode toggle button (and OK or Update) in the Page Control Dialog. Then press OK in the Print dialog. At last he should press Run in the ISDAT ctm dialog.The printing directly to printer is disabled in Continuous mode.
The continuous mode can also be used for spectrograms. In this case the manual size of the spectrogram must be selected.
page control
Time scale hh:mm:ss:
When this option is selected, the time labels in igr is printed in hh:mm:ss or hh:mm format.

Print "undefined *":
The default mode is to print the x- and y-axis text also when the data base handler (dbh) reports "undefined".
When this option is unselected, the texts beginning with "undefined" is not printed.

Use small ticks in log. axis
This option controls the tick marks and labels on the logarithmic axis.
When this option is selected, the major tick marks are only plotted for
each decade, i.e. ..., 0.01, 0.1, 10, 100, 1000 ... .
Smaller tick marks are plotted for each number being a multiply of 1.
As an example if the logarithmic scale is from 0.1 to 100,
the major tick marks with labels are plotted for the values 0.1, 1, 10, and 100. The smaller tick marks without labels are plotted for
0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 2, 3, 4, 5, ... .
The scale can of course in this case be filled with to many tick marks.
Then some values are defined to remove tick marks and labels on logarithmic scales.
For logarithmic color scale in a spectrogram the rule is:
The maximum number of tickmarks on the spectrogram color
scale before the small ticks are removed is 40 (INSPECT_MAX_COL_STICKS).
Generally the rule is:
If the number of decades are greater than 5 (SMALLTICKS_DECADE_MAX)
the small ticks are not plotted.
If the number of decades are greater than 8 (TICK_LABEL_MAX)
the igr client remove some of the labels, (The algorithm start with every other).

If the logarithmic ordinate scale length is less than one decade,
the use of small ticks is automatically deselected.

Use End: yyyy-mm-dd hh:mm:ss
Usually the time is given at the bottom of the igr window as
Start: YYYY-MM-DD HH:MM:SS Interval: s.s
However, selecting the 'Use End: yyyy-mm-dd hh:mm:ss' button the time is given as
Start: YYYY-MM-DD HH:MM:SS End: yyyy-mm-dd hh:mm:ss
(YYYY-MM-DD HH:MM:SS is the start time, and yyyy-mm-dd hh:mm:ss is the end time.)
When plotting spectra you must send new data to the igr client in order for the changes
to take effect. This is done by either pressing Update in the ctm time
manager or by pressing the 'right mouse button' in the igr panel.

Use note
It is possible for the user to add a note (comment) text to each plot.
The note for the current plot is added in the Note Control Dialog (Edit->Note) .
In order for notes to be written and displayed the 'Use note' pushbutton must be selected.
The note is displayed when the mouse cursor is above the the small pushbutton
in right upper corner, the plot button.
The note is also displayed in the Info, Info->CurrPlot and Info->AllPlots windows.

Use right axis:
It is possible to have an additional ordinate axis on the right side of the panel.
In order to use this feature the 'Use right axis' pushbutton must be selected.
Then to select which plots should have the axis to the right the Plot Control Dialog is used.
In the Plot Control Dialog the 'axis right' pushbutton is selected.

Max data lines in Info:
By using the Info->DataCurrQty and Info->DataCurrPlot the data from current quantity
or current plot are printed in the info dialog.
If to many values are printed the printing is rather slow.
The maximum number of data lines are set in the "Max data lines in Info:" text line.

Warning mask:
The warning mask determines if the warning messages from the ISDAT data base server (dbh)
are printed in the panel. The hex number in this field are AND'ed with the
warning number from the dbh. The resulting warning message is displayed. The warning messages are:
    DbBAD_DROP    0x0001  "data drop" 
    DbBAD_GAP     0x0016  "data gap"  
    DbWARN_DROP   0x0001  "data drop" 
    DbWARN_PART   0x0002  "mode change" 
    DbWARN_EOF    0x0004  "end of file" 
    DbWARN_GAP    0x0016  "data gap" 
    DbWARN_CORR   0x1000  "data corrected"
    DbWARN_CAL    0x2000  "uncertain calibration" 
The default warning_mask is 0x2000.
In this case the default is only to print "uncertain calibration" warning messages in the panel.
When 0x0000 is entered, no warning messages are printed.
When 0xFFFF is entered, all warning messages are printed.
It is possible to set the default warning mask in the setup file resources.res Igr*warningMask:.

When the OK button is pressed the settings for all panels are updated and the Page Control Dialog disappears.
When The Update button is pressed the settings for all panels are updated.
When the Cancel button is pressed the Page Control Dialog disappears , (no change to the panels).


Updated Mar 21, 2011 by Bjørn Lybekk