Introduction

Tutorials

Reference

Installing WellSim

Graph basics

The parts of the Multiple Graph window

There are graph menus and graph buttons across the top.

The left of the window is the worksheet area, which displays worksheets, which are the numbers in the data set(s) that you selected to graph. In this case:

The parts of a graph

The curves on the graph are called series. This graph has two series, one black and one red.

The legend shows that:

Doing something with the graph

In addition to looking at the graph, you can print it or export it in many formats, for example as a graphic, as numbers, as XML or as a text file.

To do this with a graph ... use
Print a graph The Print button [Multiple Graph only]
The Editor window/Print tab for quick and easy printing
Export a graph as a graphic (picture) file The Editor window/Export tab/Picture tab
Export a graph as data (numbers) The Editor window/Export tab/Native tab or /Data tab
The Export button [Multiple Graph only] This works in a similar way to the standard Export function

Changing how a graph looks


To change ... make changes in
The axis names and orientation The Settings window
The series being displayed on the graph The Series, Editor or Settings windows read more
The series (colours, point symbols, line types) The Schema window for long-term changes
The Editor window/Series tab, to override the Schema window settings
What is displayed on a geological column graph See this tutorial
Zoom, scroll and change units See here
The axes (title, labels, ticks, grid, position) The Editor window/Chart tab/Axis tab and /General tab
The title The Editor window/Chart tab/Titles tab
The Settings window to change the words of the title
The legend The Editor window/Chart tab/Legend tab
The Legend window [Multiple Graph only] to change the legend's format and a few other settings
The panel The Editor window/Chart tab/Panel tab
Paging (split a graph into several pages, for example for printing) The Editor window/Chart tab/Paging tab
3D Graphs (showing each series as a 3D ribbon) The Editor window/Chart tab/3D tab and /Walls tab

Tutorial: Setting up the graph axes and series (Settings)

Open the settings window to set up the axes and series on a graph:

NOTE


To start, select a typical discharge simulation and click QuickGraph. Ignore the graph for now. Click Graph, then Settings to open the Settings window:

A graph of temperature against depth for the discharge simulation

Change the settings to look like the window above:

  1. Independent axis: Select Vertical Depth (a field in the discharge simulation) from the dropdown list; select Left to have this axis on the left; tick Invert to have zero depth at the top of the axis; tick Autoscale Axis to let the Graph module handle the axis numbers.

  2. Dependent axis 1: Select Temperature (a unit type in the discharge simulation) from the dropdown list; tick Autoscale Axis again.

  3. Dependent axis 2: Select None from the dropdown list.

  4. At the top of the window, tick Show Lines and untick Show Points (there are usually many points, and displaying them will clutter the graph).

  5. Visible Fields 1: Ensure Temperature is ticked.

  6. Click OK:

Showing the points on the series

Open the Settings window and change:

  1. At the top of the window, tick Show Points to display the points.

  2. Click OK:

  3. There are many points on the series, which overlap and make the line fat. Open the Settings window again and untick Show Points.

Adding Enthalpy as a second axis

Open the Settings window and change:

The graph has four curves for Enthalpy. This is because you selected a unit type of Enthalpy for the second dependent axis, and the discharge simulation has four fields with a unit type of Enthalpy.

Removing some of the Enthalpy series (curves) from the graph

Open the Settings window and change:

  1. Visible Fields 1: Untick Liquid Enthalpy, Vapour Enthalpy and Mixture Enthalpy.

  2. Click OK:

Changing the axis scale - Autoscale

The above graph has the Enthalpy and Temperature axes autoscaled, which makes a busy-looking graph. To manually scale the axes, open the Settings window and change:

  1. Dependent axis 1: Untick Autoscale Axis. Set Minimum to 0 and Maximum to 400. These numbers are Temperatures [degC], because Dependent axis 1 is Temperature.

  2. Dependent axis 2: Untick Autoscale Axis. Set Minimum to 0 and Maximum to 2000. These numbers are Enthalpies [kJ/kg], because Dependent axis 1 is Enthalpy.

  3. Click OK:

Displaying a graph of temperature against enthalpy for the discharge simulation

In the graph above:

This is how we usually think of the data, because:

However, in the graph module, any field can be the independent axis, and any data types can be the dependent axes. In this example, you will display a graph of temperature against enthalpy:

Open the Settings window and change:

  1. Independent axis: Select Enthalpy; Untick Invert to have zero enthalpy at the bottom of the axis; tick Autoscale Axis.

  2. Dependent axis 1: Select Temperature; tick Autoscale Axis.

  3. Dependent axis 2: Select None

  4. Click OK:

Working with Increment (settings menu)

Increment is the change in value between numbers along a graph axis. For Increment = 20:

For Increment = 10:

For small values of Increment, there are too many numbers to fit along an axis, and WellSim just leaves some out. For Increment = 1:

You can also set Increment to zero, and we recommend this:

For a log axis, Increment works differently, see below.

Log 10 axes

To change an axis to Log 10, tick the box in settings. A log 10 axis is green:

In the Settings menu, the word Increment changes to # per decade:



Tutorial: Changing a graph on the fly (zoom, scroll, axes, units)

Zooming

There are three ways to zoom: zoom all directions, zoom dependent axis or zoom independent axis. To set the zoom:

  1. In Multiple Graph, click the Graph; or for Quick Graph, in the home window click the Quick Graph.

  2. Click Set zoom direction and click an option in the flyout menu:

To zoom, move the cursor on the graph to the top, left of where you want to see, hold down the left mouse button and drag to the bottom, right of where you want to see; release the button. The shape of the cursor changes to show what will zoom.


Zoom all directions

This is the normal zoom, for example to inspect a part of a series in detail. The cursor is a horizontal and vertical arrow. To zoom, move the cursor to the top, left of where you want to see, hold down the left mouse button and drag to the bottom, right of where you want to see:

Release the mouse. Both axes zoom:


Returning to normal

Hold the left mouse button down on the graph and drag anywhere up and to the left:

Release the button:


Zoom independent axis

This zooms the independent axis but not the dependent axis. The cursor is an arrow in the direction of the independent axis. In this example, depth is the independent axis; depth is the vertical axis so the cursor is a vertical arrow. When you zoom, it zooms depth but not the horizontal axis:

To return to normal: Hold the left mouse button down on the graph, drag anywhere up and to the left, release.


Zoom dependent axis

This zooms the dependent axis but not the independent axis. The cursor is an arrow in the direction of the dependent axis. In this example, well pressure and temperature are is the dependent axis; these are horizontal so the cursor is a horizontal arrow. When you zoom, it zooms the horizontal but not the depth axis:

To return to normal: Hold the left mouse button down on the graph, drag anywhere up and to the left, release.

Scrolling

Scrolling moves all series (and axes) in any direction, so that you can see another part of a graph; usually a zoomed graph, as here. Hover the cursor over the graph. Hold the right mouse button down and drag the graph within its axes. Release the button.

To return to normal: Hold the left mouse button down on the graph, drag anywhere up and to the left, release.

Dragging an axis

Dragging an axis moves that axis and any of its series, so that you can see another part of a graph; usually a zoomed graph, as here. Hover the cursor over the graph axis; the cursor changes to a . Hold the left mouse button down and drag the axis. Release the button.

Here, we dragged the well pressure axis to the left so we could see the well pressure and well temperature series together.

To return to normal: Hold the left mouse button down on the graph, drag anywhere up and to the left, release.

Changing axis units on the fly

Right click the axis to change, click a new unit:

Note that when you change units like this, the axis always changes to Autoscale, because because the original Minimum and Maximum might not be appropriate for the new unit.

Mouseover a legend item to highlight the corresponding series (line)

When you move the mouse over an item in a graph legend, the corresponding series (line) is highlit. For example:

Note


Tutorial: Setting series and point colour and style (Schema)

Use the schema window to set up series and point colour and style read more. To open the schema window:


  1. Tag two output simulations. I used the first two in the sample database for RK5:

  2. Click Multiple Graph.

  3. We will now change the graph to be confusing. Click Settings and if necessary change to this:

    Click OK.

  4. Click Schema and change to this:

    Click OK.

  5. The graph should now look like this:

    This is confusing, because it has too many points, and the lines and points are all the same colour. Click Schema and use the Schema rules tab to make the graph look better:

    • In Settings above you saw there were two visible fields, Wellhead Temperature and Wellhead Pressure. In the schema rules Line colour dropdown list, choose Cycle line colour by field name. This uses a different line colour for each field, so the two Temperature lines are now a different colour to the two Pressure lines.

    • To reduce the number of points, click Display a maximum of and enter 10 into data points in each series.

    Click OK:

    This is better but not great.

  6. Click Schema again. There are two data sets, one for each output simulation.

    • in the Symbol dropdown list, choose Cycle symbol by data set
    • in the Symbol colour dropdown list choose Cycle symbol colour by data set

    This makes the points for each data set different. Click OK. The graph is now less confusing:

More options to try

There is no correct schema for a graph, just schemas that help you interpret the graph better. Try these options for schema rules one at a time and see what works for you:

But probably the best thing here is to use the settings window, turn off autoscale axis for both dependent axis 1 and 2 and set the axis minimums and maximums to move the temperature and pressure series apart on the graph. You learnt how to do that above, right?


Tutorial: Manually entering data for Multiple Graph

Usually you will select one or more data sets to graph before you click Graph. However, you can click Multiple Graph without selecting any data sets first, then:

Manually entering data to graph

This example is for a measured discharge profile:

  1. In the main program go to the type of data set that you want to graph, measured discharge profile.

  2. Click Multiple Graph.

  3. The graph module starts and the worksheet shows an empty data set for a measured discharge profile:

  4. Enter data for the first vertical depth:

  5. Click (top left corner of worksheet) and click Save changes to accept your data for the first depth:

  6. Click again and click Add record to create a new empty row in the worksheet.

  7. Repeat the above three steps to enter a row of data, save it and add a new record until you have entered all your data:

  1. Click Settings and check these settings:

    Independent axis is set to Vertical Depth, Inverted, Left, Autoscale Axis.

    Dependent axis 1 is set to Pressure, Autoscale Axis.

    Dependent axis 2 is set to Temperature, Autoscale Axis.

    At the top of the window: The setting is Show Lines, not Show Points.

    Visible Fields 1 is set to Pressure and Temperature.

Click OK: