The Graph control is a versatile, powerful easy-to-use tool for observing data (see
Figure 4). This section gives a brief description of some of the 2D graph control
features and an explanation of how to use them.
User interface features
|Large data handling capabilities||Opti2D Graph control is capable of handling millions of points.|
|Optimized drawing||Even with a large number of data points, Opti2D Graph Control is optimized to allow for smooth tracing and panning of graphs.|
|Moveable information windows||Moveable information windows allows for placement of the windows in the most convenient location in the graph window.|
|Crosshair||Visible cross to make seeing trace points easier.|
|Graph toolbox||The popup Graph toolbox allows easier access to the viewing/ organizing/editing capabilities of the Opti2D Graph tool.|
|Graph Menu button||The Graph menu button allows you to access a full list of functionality associated with the graphs and their data.|
There are two main windows visible on the main display:
- Info-Window settings dialog box
Both can be launched using the Graph menu or Graph tools.
When you access the Info-window, it displays in the work area of the graph view. By
default, it displays the current position (in data-base coordinates) of the cursor. When
you add marker, tracers, and regions, the Info-Window expands to show the details
of these components.
When you use the Select tool, if you double click in the window, the Info-Window
properties dialog displays (see Figure 6).
You can switch the Legend on and off using the Legend tool in the Graph toolbox, or
the Graph menu. The Legend displays a list of all the curves displayed in the graph
with the corresponding line color that is used to display those curves (see Figure 7).
Use the Minimize/Maximize button to change the display of the Legend, or close the
Legend by using the Close button.
To access the Graph toolbox, right-click in the graph view. Most graph editing/viewing/organizing capabilities are accessible using the toolbox (see Figure 8).
To open the Graph menu, click the blue icon at the top left corner of the Graph view
(see Figure 9).
Figure 9: Graph Menu
Graph Menu button
The Graph Menu button is in the top left corner of the graph view.
The tools available from the Graph menu include:
- Difference Tracer
The information windows available in the Graph Menu include:
- Info Window
- Reset Layout
Printing and exporting files
Opens the Print dialog box and allows you to print an image of the active graph view
(see Figure 10).
Print to BMP file
Exports an image of the active graph view to a file in .bmp format using the Save As
dialog box (see Figure 11).
Figure 11: Print to BPM File
Print to EMF file
Exports an image of the active graph view to a file in .emf format using the Save As
dialog box (see Figure 12).
Figure 12: Print to EMF File
Copy image to clipboard
Copies an image of the active graph view to the clipboard.
Allows you to modify the properties of some of the tools.
Note: The tool property dialog only launches if the active tool allows settings to be changed.
Set Active Display
Allows you to launch the Graph Properties dialog. For more information, see For more
information, see “Graph display” on page 232.
Table of Points
Launches a dialog box that displays a list of all the curves on the graph control and
displays the data coordinates of those curves. It also allows you to export the data
points to a text file (see Figure 13).
Launches a help dialog box specifically related to the Opti2D Graph Control.
Allows you to import a curve from a text file. The file must be in the format below.
X1 (tab) Y1
X2 (tab) Y2
// (Beginning of file) (this line should not be in the file)
//(End of file) (this line should not be in the file)
The graph is made up of layered displays. Each display has a pair of axes. By default, the control contains one display with Axis X on the bottom of the display and Axis Y on the left. In the case of complex graphs that require more than one pair of axes, more than one display exists (see Figure 14).
Any objects that you place on the graph are placed on the active graph view. Therefore, if you place a marker on the graph and Display 1 is active, the new marker is based on the coordinate system of Display 1. If you want to add a marker on Display 2, you must select the main menu in the Graph menu. This launches the Graph Display dialog, which permits you to select a different display. In complex graphs, the displays are layered one on top of the other (see Figure 15).
Graph Properties dialog
The Graph Properties dialog allows you to manage properties of the graph.
The Graph Properties dialog tabs include:
- Properties dialog box-Y-Axix tab
- Properties dialog box-Legend tab
- Label Management
The X-Axis Tab allows you to set properties of the X-axis (see Figure 16).
The values in Scale Type can be:
The values in Format Value can be:
- Decimal: simple decimal values (1000.0, 2000.0, 3000.0)
- Exponential: exponential notation (1.0-e3, 2.0-e3, 3.0-e3)
- Engineering: engineering notation (1k, 2k, 3k)
- Scientific: scientific notation (1.0 x 103,2.0 x 103, 3.0 x 103)
Prefix: You can place a prefix string before each of the scale values.
Suffix: You can place a suffix string after each of the scale values (e.g. 1000.0 nm)
Automatic Range, Min Value, Max Value: You can check Automatic Range, which sets the range according to the curves in the displays, or force the axis range to certain values.
Tickmarks: You can set the number of major and minor tick marks on the Axis.
The Y-Axis Tab allows you to set properties of the Y-axis (see Figure 17). To see descriptions of the Y-Axis dialog fields, see “X-Axis” on page 196.
The Curve tab allows you to set various properties of the curves that are added to the control (see Figure 18).
Figure 18: Properties dialog box-Curves tab
Curve List: Displays all of the curves on the active display.
Color: Allows you to choose the color of the selected curve.
Line Style: Allows you to select the line style of the selected curve.
Plot Style: Allows you to select the plot style.
The values in Plot Style can be:
- Segment Left
- Segment Right
- Segment Center
- Step Left
- Step Right
- Drop Line
Line Thickness: Allows you to select the thickness of the currently plotted curve line.
Values range from 1 to 8.
Point Style: Allows you to select the style in which each point on the curve will be
The values in Point Style can be:
The Grid tab allows you to select which of the grid lines on the display are visible, and
what color they are to be displayed in (see Figure 19).
The Font Tab allows you to select the fonts used for displaying titles and axis values.
(see Figure 20).
Legend tab simply has a toggle for the Legend Visible/Invisible. More features will
become available in the future (see Figure 21).
The Graph tab is used for editing the titles of any axis as well as the graph title itself
(see Figure 22).
The Label Management tab allows you to remove and edit labels on the graph. You can also access the Label Management function using the Label tool in the Graph toolbox (refer to Figure 23).
Note: For removing a large number of labels or labels that may have been positioned at coordinates that are not in the viewable area, it is easier to remove or edit them using the Label Management tab, because of the multiple selection feature.
Use the Label Properties dialog box to edit the name or coordinates of the selected label (see Figure 24).