this
Description
The Plot command is used to change the contents of an existing Plot-Table window pair, or to create a new pair. You can delete a Plot-Table window pair by selecting the close control in the upper right corner of the menu bar in either the Plot or Table window. If you select the Plot button in the Command window , the Plot dialog will appear:

Name Title Option Xtitle Xvar Ytitle
Xaxis Yvar Yaxis Ycolor Sample Ystyle
Ok Cancel


This dialog is used to create and edit Plot and Table windows. In the discussion below, Name will denote the value to the right of the Name button in the Plot dialog. Plot and Table windows come in pairs. The Name Plot window contains a graph of the specified values while the Name Table windows contains the values in tabular form.

Name
This button can be used to select an existing Plot and Table window pair or to create a new pair. Selecting the name button opens the Name dialog .

Title
This field specifies the title used inside of the plot. You can enter text directly into this field.

Option
This field may contain combinations of the following options stack, grid, and box. You can enter values directly in this field or select the Option button which opens the OptionDialog .

Xtitle
The value in this field specifies the title for the horizontal axis in the Plot window. You can enter text directly into this field.

Ytitle
The value in this field specifies the title for the vertical axis in the Plot window. You can enter text directly into this field.

Xaxis
This field specifies in order the Axis Minimum value, Axis Maximum value, number of Major Divisions , and number of Minor Divisions for the horizontal axis. You can modify these directly in the Plot dialog or by selecting the Xaxis button which opens the Axis dialog .

Yaxis
This field specifies in order the Axis Minimum value, Axis Maximum value, number of Major Divisions , and number of Minor Divisions for the vertical axis. You can modify these directly in the Plot dialog or by selecting the Xaxis button which opens the Axis dialog .

Xvar
This field specifies a single Plot variable that corresponds to the horizontal axis. If it is blank, the time point index, k, is plotted along the horizontal axis. You can select another variable by entering it in this field or by selecting the Xvar button which opens the X-Variable dialog .

Yvar
This field should not be blank and may specify one or more Plot variable for vertical axis. If there is more than one variable, they must be separated by commas. You can change values directly in this field or select the Yvar button which opens the Y-Variable dialog .

Ystyle
This field specifies the Style corresponding to each of the vertical axis variables. There must be one style for each variable specified in the Yvar field and the styles must be separated by commas. You can change this field directly or select the Yvar button which will open the Y-Variable dialog . If you wish to change a style using the Y-Variable dialog, you must first delete the variable and then add it with a new style using the Yvar button described directly above.

Ycolor
This field specifies the Color corresponding to each of the vertical axis variables. There must be one color for each variable specified in the Yvar field and the colors must be separated by commas. You can change the values in this field directly or select the Yvar button which will open the Y-Variable dialog . If you wish to change a color using the Y-Variable dialog, you must first delete the variable and then add it with a new style using the Yvar button described above.

Sample
If this field is blank, all the time points are included in the plots and tables. Otherwise, this field specifies a subset of the time points to include. The field contains the index of the first time point, the increment between time points, and the number of time points in that order and separated by commas. You can change these values directly or select the Sample button which will open the Sample dialog .

Ok
If you select this button, the current Plot dialog settings will be applied to the Name Plot and Name Table windows. This will either create new windows or modify existing ones. The setting in the dialog are saved in Name.PLT file in the temporary directory so that if you later delete the plot and then request it again the settings are not lost.

Cancel
Selecting this button will abort the current Plot dialog setting.

Contents
The Name Dialog
The Option Dialog
The X-Variable Dialog
The Y-Variable Dialog
The Axis Dialog
The Sample Dialog
Plot Variables

Example
If you load the EXAMPLE.KBF , the following steps will include the ranges to the second station in the Z1 Plot and Z1 Table windows:
1. select the Plot button in the Command Window
2. select the Name button in the Plot dialog
3. select Z1 as the Existing plot name in the Name dialog
4. select the Yvar button in the Plot dialog
5. select z as the new variable, 2 as the index, and star as the plotting style in the Y-Variable dialog
6. select the New button in the Y-Variable dialog and Ok in the Plot dialog