11.12 The Vertical Cursor Gadget
Use the Vertical Cursor gadget to read X and Y coordinate values for data points on stacked panel plots. This gadget is available in the Gadgets menu when a graph window is active.
The Gadget Dialog's Toolbar Buttons
|Add Tag and Label
| Add tag and labels at current position for the selected plots.
Note: You are allowed to add multiple tags on a graph, labeling the data points with specified format.
| Click this button to specify whether to hide the labels. Note: Only the X value will be tagged at the top/bottom of the graph while the labels are hidden.
|Show All Info in One Label/Multiple Lables
| Show information of all data plots into one label or each plot has its own label.
|Add 2nd Cursor
| Click this button to add second cursor. The difference between two cursors can be calculated and outputted. Click the button again to remove the second cursor
|Increase/Decrease Font Size
| Increase or decrease the font size of the labels.
|Move Cursor to X
| Move the cursor to the position specified by the input X value.
|Output the XY coordinate values listed in the Cursor tab to the specified worksheet. Note that pressing the O key also outputs the current values to a worksheet.
|Go to Report Worksheet
|Switch to the report worksheet.
|Open the Preference dialog.
|Click this button to open the Graph Browser, to select and link graphs to the current graph.
|Click this button to expand or hide the Cursor table.
Data Points List
Snap Cursor to Nearest X
Select to snap the cursor to the nearest source data points in X direction.
This table lists information about the intersection of the vertical cursor and data plots.
This table includes two context menus with which you can customize column and plot display.
Context Menu 1
Right-click a column header to open a menu which will let you select the columns to display in this table.
Context Menu 2
Right-click the area below the column header to open another menu. Here, you can select to copy data to the clipboard, choose which plots to display in the table, unlink the linked graph, and save/load linked graphs.
Click the Options button to open the Preferences dialog. This dialog contains three tabs:
On this tab, you can:
- Specify the display format of X and Y values in the Cursor table and in labels on the graph.
- Note that X/Y Display Format = <auto> will follow axis tick labels. For links to other Display Format syntax options, see this table.
- Select columns to display in the Cursor table.
Tags and Labels tab
On this tab,
- you can specify Label Form, Tag Form, and Tag Location.
- You may choose to customize the Label or Tag Form by writing a custom format string. For more information on string syntax, please refer to Substitution Notation in LabTalk Help.
- You can specify the line length, Span Layers or Full Page.
Specify the output result worksheet:
- When you generate new output, results are output to a book and sheet named [Cursor]%H by default, where %H is a string register storing the name of the active graph window. Other books and sheets can be specified. If the book and sheet do not exist, they will be created on output.
- Alternately, you can click the flyout button to the right of Worksheet and choose Sheet in Input Book. This fills the edit box with [<input>]%H. When you generate new output, this will add results to the source workbook (the book containing the plot data), in a sheet named for the graph window.
When open the vertical cursor and add a tag on a graph, you can click the button to open the Graph Browser and link the graphs together.
An additional button Load Last Used is available in the graph browser window for vertical cursor, by clicking this button, the graphs which are linked last time will be loaded and be ready to be linked.
If the graphs are already linked, when the cursor is moved on one graph, data coordinates from all data plots and from each of the linked graphs will be displayed. Furthermore, when a tag is added to/deleted from the graph with the cursor, corresponding tag is added to/deleted from each of the linked graphs.
After the graphs have been linked together, an icon will be added on top-right of all graphs to indicate which graphs have been linked together. Right-click this button, a context menu to control the cursor line will be brought up and you can:
- Go to Cursor Line Window:
- Directly active the graph window which the cursor line is currently on.
- Move the cursor line to the current active graph window.