Graph window
Functionality
In a graph window, you can show the following types of graphs:
- Graphs from Columns, i.e. distinct values available in columns of a table; the graph can be shown in a number of manners:
- as points: this is also known as a scatter gram,
- as bars: this is also known as a bar chart,
- as a line: connecting the successive distinct Y-values by the shortest possible line,
- as needles: vertical lines from the X-axis to each distinct Y-value,
- as steps: connecting successive distinct Y-values by a horizontal + vertical line,
- Graphs from Formula, i.e. a continuous line showing a Y-value for every X-value according to a completely user-defined function,
- Least Squares Fit, i.e. a continuous line displaying the best fit through distinct points according using a certain user-selected function while coefficients are calculated by the program,
- Semi-variogram Models, to find the best line through experimental semi-variogram values (distance values h against semi-variogram values g),
You can display multiple graph types listed above in one graph window.
Furthermore, Rose diagrams can be created, to plot directions against a Y-value.
A graph window consists of a viewer which displays your graph, a Graph Management pane, menu bar, a toolbar and a status bar. Furthermore, a context-sensitive menu is available within the Graph Management pane.
For examples of different graphs, see Graph window : examples of graphs.
To create a new graph:
To obtain a graph window containing a new graph:
- open the table which contains the column(s) from which you wish to create a graph,
- choose Create Graph or Create Rose Diagram from the File menu in the table window.
The Create Graph dialog box or the Create Rose Diagram dialog box will be opened. After you selected the column(s), a new graph window will be opened.
To create a graph, you can also:
- click the Graph button in the toolbar of a table window,
- use the New Graph command in the Operation-tree or the Operation-list, or
- click a table with the right mouse button in a Catalog, and choose the Create Graph or the Create Rose Diagram command from the context-sensitive menu.
To add graph layers to the graph window:
To add more graph layers to the graph window, use the Add Graph command on the Edit menu of the graph window, and choose the type of graph you wish to add to the graph window. You can also click the (arrow next to the) Add Graph button in the toolbar of the graph window.
Depending on whether you choose to add another graph from columns, a graph from formula, a least squares fit, or a semi-variogram model:
The new graph layer will be displayed on top of the other layers that are currently displayed.
Any layer that is added to a graph window is also added to the Graph Management pane of the graph window.
To (temporarily) remove graph layers from the graph window:
To temporarily hide or show a graph layer:
- click the box or the box in front of a graph layer in the Graph Management pane (toggle).
To remove a graph layer:
- in Graph Management pane, select the graph layer you wish to remove, and
- click the Remove Layer button in the toolbar of the graph window, or
- choose Remove Layer from the Edit menu, or
- click the layer with the right mouse button and choose Remove Layer from the context-sensitive menu.
To change the appearance of a graph layer:
By double-clicking a graph layer in the Graph Management pane, you can modify:
- name of the graph layer,
- the display options of the graph such as color, line width, symbols, etc.,
Depending on whether you double-click a graph from columns, a graph from formula, a least squares fit, a semi-variogram model, or a rose diagram:
In these dialog boxes, you can also:
- for a graph from columns: choose whether the graph should be displayed as points, bar, line, needle or step,
- for a graph from formula: modify the formula,
- for a least squares fit: choose another function to calculate the least squares fit, and/or change parameters when using a Polynomial or Trigonometric function,
- for a semi-variogram model: choose another model to calculate semi-variogram values, and/or change the values of nugget, sill, range, etc.
For more information, refer to Graph Management.
To adapt the X-axis, Y-axis (left or right) or title of the graph:
You can change for instance the range of the X-axis, the range of the Y-axis (left or right), the texts shown next to axes, and/or the title of the graph:
- by double-clicking an axis or the graph title directly in the graph window, or
- by double-clicking the appropriate item in the Graph Management pane.
The X-axis, Y-axis (left), or the Y-axis (right) or the Title dialog box will appear.
In the axis dialog boxes, you can also specify whether you wish to view grid lines or not.
To hide or show the legend of all layers added to a graph window:
In the Graph Management pane:
- click the check box in front of the legend item ,
- to show the legend, or
- to hide the legend (toggle).
To move the legend to another position:
In a graph window:
- click the legend, hold the left mouse button down, and drag the legend to another position.
To save a graph:
To save all layers in the graph window as a graph:
- first, make the graph viewer of graph window active (click in the viewer),
- choose Save or Save As from the File menu of the graph window, or
- click the Save button in the toolbar of the graph window.
When you save a graph for the first time, the Save As dialog box will appear.
To print a graph:
To print the contents of the current graph window:
- first, make the graph viewer of graph window active (click in the viewer),
- then, choose Print from the File menu of the graph window, or
- click the Print button in the toolbar of the graph window.
Before a graph is printed, first a Print Options dialog box will appear.
Other functionality:
To open another existing graph in the current graph window:
- choose Open from the File menu, or
- click the Open button in the toolbar.
To open the table from which the graph was constructed:
To copy the contents of the graph window as a picture to clipboard, so that this can be pasted into an ILWIS layout, or into any other Windows application, for instance into a word processor:
- make the graph viewer active,
- then choose Copy from the Edit menu, or
- click the Copy button in the toolbar.
The graph(s) in a graph window are automatically resized when you change the size of the graph window.
See also:
Graph window : examples of graphs
Graph window : Graph Management
Graph window : toolbar
Graph window : menu commands
ILWIS objects : graphs