Introduction

Tutorials

Reference

Installing WellSim

Graph menus, buttons, windows

This describes the graph module's menus, its buttons and its windows to configure, customise, import and export graphs.

QuickGraph & Graphical Results Menus

When a QuickGraph or Graphical Result can be displayed, the Graph menu has options:

Multiple Graph Menus

These menus are at the top of the Multiple Graph window.

Menu Submenu and function
File Print: Open the Print window
Return: Exit multiple graph
Edit Has: Undo, Cut, Copy, Paste
View View Worksheet: Hide or show the Worksheet, the data in the data set, displayed on the left of the graph window
Highlight Identifiers Sheet 1: Highlight (green) or not the identifiers in Worksheet 1
Highlight Identifiers Sheet 2: Highlight (green) or not the identifiers in Worksheet 2
Data Grouping: Open the Group window
Legend: Open the Legend window
Calculations: Open the Time Calcs window
Transform: Open the Transform window
Import: Open the Import window
Export: Open the Export window
New fields: Add a field to the current Worksheet
Delete null fields: Delete fields that have no data in the active Worksheet
Delete Selected Records: Select records (rows in a Worksheet) by clicking the box to the left of the row; this command deletes these selected rows
Empty Active Worksheet: Sets all fields in the active Worksheet to null
Unit Preferences: Opens the Unit Preferences window
Graph Refresh: Save any changes you have made to graph settings or configuration, recalculate and redraw the graph
Settings: Open the Settings window
Editor: Open the Editor window
Schema: Open the Schema window
Set zoom direction
Recalculate only: Save any changes you have made to graph settings or configuration, recalculate but do not redraw the graph

Multiple Graph buttons

These buttons are arrayed across the top of the Multiple Graph window.

Menu Submenu and function
Return Exit the graph module
Print Print window
Order Order window
Series Series window
Group Group window
Legend Legend window; the down arrow beside the button has a menu for common changes to the legend
Time Calcs Time Calcs window
Transform Transform window; the down arrow beside the button has a menu for common transforms
Import Import window to import a file of the same format that you imported last; the down arrow beside the button selects a file format to use for the import
Export Export window to export a file of the same format that you exported last; the down arrow beside the button selects a file format to use for the export
Image Image window to export the graph as an image.
Refresh Save any changes you have made to graph settings or configuration and redraw the graph
Settings Settings window to set up the graph axes and series
Editor Editor window to customise the look of the graph
Schema Schema window to customise the look of the graph series colours, point symbols and line types

The graph module windows

The windows, all for Multiple Graph, are:

Print window [Multiple Graph]

Print the graph. If you have a second worksheet, both worksheets are printed. To open the window, click Print:

Set up the graph, then click Print. You can also print the graph from the Editor window's Print tab.

Order window [Multiple Graph]

Change the order of the fields displayed in a worksheet in multiple graph. To open the window:

To change the order of the fields in a worksheet, click each field, then click the arrow buttons to move the field up or down the list.

Series window [Multiple Graph]

Select series to display on the graph. If you have a second worksheet, you can select series for both worksheets are in the one window. To open the window, click Series.

Select or deselect series to display on the graph.

Group window [Multiple Graph]

Grouping determines how a graph's series are created from the data in the graph's worksheet. WellSim uses grouping internally; you never need to change the grouping yourdelf.

Legend window [Multiple Graph]

Set up the contents of the legend. To open the window:

The beside Legend has a menu for common changes to the legend.

Hiding and showing duplicate legends

Hiding duplicate legends makes the legend simpler and easier to read if the legend has several series for each item. This example uses PT graphs for three wells: each well has a pressure and a temperature series.

To hide or show duplicate legends:


Here is an example with duplicate legends shown (you might need to use the Legend window to select the fields to show in the legend):

And here it is with duplicate legends hidden:

When you hover the mouse over an item in the legend, all series for that item are highlit, as above.

Use Schema to set appropriate rules for the graph. Here:

Field Value
Line colour Cycle by field name
Symbol Cycle by data set
Symbol colour Cycle by data set

For more on using Schema see here.

Time Calcs window [Multiple Graph]

Compare time-dependent series that have different start times. To open the window:

Read a tutorial on time calcs.

Transform window [Multiple Graph]

Transform takes one series on a graph, applies a mathematical function to it and displays the result as a series on the graph. A common example is to use a pressure series to calculate saturation temperature.

To open the window:

The down arrow beside the button has a menu for common transforms.

In the Transform window

Using a pressure series from a discharge simulation to calculate saturation temperature down a well

  1. Select a discharge simulation and click Graph to open a MultipleGraph. If necessary, set up the axes to show Pressure and Temperature down the well:

  2. Click the down arrow beside the Transform button and click Saturation Temperature:

  3. The Transform window has the correct options set up. Select New (by field name) to write the saturation temperature to a new field and select one from the dropdown list - I chose Measured Temperature:

  4. Click to do the transform, close the Transform window and automatically display the new field with saturation temperature (called Measured Temperature):

  5. Look at the right end of the worksheet for the new column, Measured Temperature, containing the saturation temperatures. This will be deleted automatically when you exit the MultiGraph window.

Import window [Multiple Graph]

Import data to a worksheet where it will be graphed. To open the window:

First, choose a file name to import:

The Import window appears:

NOTE

Export window [Multiple Graph]

Export data from a worksheet. To open the window:

NOTE

Image window [Multiple Graph]

Open the Editor window at the Export tab, to export the graph as an image. If you have a second worksheet, both worksheets are on the image. To open the window, click Image.

Settings window

Change graph settings, mainly the names and orientations of the axes. If you have a second worksheet, click a tab at the top of the Settings window to select the worksheet to use:

Synchronise dependent axes

If a graph has two dependent axes, then the axis grids can be confusing, see below left. If you tick Synchronise dependent axes then the top/right dependent axis uses the same axis grids as the bottom/left dependent axis. The axis grids are simpler. WellSim changes the top/right axis numbers to suit the new grid.

Note: If either dependent axis is logarithmic, synchronization is disabled.

Editor window

Customise the look of the graph. If you have a second worksheet, you can customise both in the one window.

Schema window

Set the line and point colour, line type and point shape of the different series on a graph. If you have a second worksheet, you can work with both in the one window. For a tutorial on using this window see here.

There are two reasons to use schema:

Overview of schema

Schema options

Pen Definitions There are sixteen pens, numbered 0 to 15, each with a colour. To change the colour, double-click the colour and select a new colour. The pen colours are used by the Colour Order tab. It is hard to distinguish line colours on a PC monitor or printout, so don't set colours that are too similar. The default colours will probably do.

Colour Order tab Defines the order for cycling through colours for line colour and symbol colour. To change the order, choose new IDs in the Pen ID column. To make line and symbol colours different, in the Schema Rules tab, set Set Offet between Line Colour and Symbol Colour nonzero.

Symbol Order tab Defines the order for cycling through the built-in point symbols (square, circle, triangle etc). To change the order, choose new symbols in the Symbol column.

Line Order tab Defines the order for cycling through the built-in line styles (solid, dash, dot etc). To change the order, choose new styles in the Line column.


Schema rules tab

Rule result
Cycle by series Use a different line colour for each series that is graphed. This rule is not usually as useful as the other rules.
Cycle by fieldname Use a different line colour for each field that is graphed. For example, to make Temperature lines a different colour to Pressure lines.
Cycle by dataset Use a different line colour for each data set that is graphed. For example, to make lines from each well a different colour.
Fix to first item in list Use the same line colour for all series.


Include disabled series in schema cycling

You can disable series (fields) in Series or Settings; when disabled they do not show on the graph.

Include (enabled) null series in schema cycling

Enabled null series (fields) have no data in them, and therefore do not show on the graph.

Reset counters for second worksheet


Symbol Display Determines if symbols (points) are displayed, and how many.

Size and Width Sets the line width and the size of the symbols (points).


Save Instructions

When you are familiar with how to use the program, set up a schema that is pleasant to you and save it as a program wide default by selecting Save to default. Later as you modify the schema to suit particular nodes, select Save to node.


Note that some schema settings can be modified by other settings in the graph module, for example line colours can be changed in the graph editor.

Dock/undock graph

When the graph is docked, the worksheets and graph are in the same window, side-by-side:

To undock the graph, either click Undock graph at the top, right or click the X close button at the top right of the graph window:

When the graph is undocked, the worksheets and graph are in separate, independent windows. The menus and buttons at the top of the worksheet window work normally. To dock the graph, click Dock graph at the top, right.

Undock a graph when you want to export several graphs the same size. You can set two preset graph sizes, called portrait and landscape, though each can be any size. To use the preset sizes, click the to the right of Dock/undock graph:

To set a preset size, undock the graph and drag its borders to the width and height you want. You can see the graph's size in the window title. Then click Set Portrait Size or Set Landscape Size.

To set a graph to a preset size, undock it and click Use Portrait Size or Use Landscape Size.