Multi Graph Definition

A Multi Graph Definition contains graphs, added by the user, using data from various tables in Ple4Win. It is possible to create, copy, rename and even delete Multi Graph Definitions. Modifying individual graph data within a definition is also allowed (update, change or group the graphs) prior to showing them. This process can be done in the Multi Graph Definition panel. This panel is also used to select the graphs to be shown in the (next) Multi Graph Drawing panel.

There are 2 different ways to activate this panel:

Select from menu Tools > TmainMGraph Multi Graph

Multi Graphs Show Button On Menu

or,

Click on the 'Show Multi Graph' TmainMGraph button on the main toolbar

Multi Graphs Show Button On Toolbar

The Multi Graph Definition panel will appear in the place of the Overview panel.

Click to enlarge the screenshot

To switch between the Multi Graph Definitions, either select the desired one from the drop-down box, or type the name of the definition directly into the drop-down box and click on Enter. The selected definition will be used when adding Multi Graph data.

Click to expand/collapseMulti Graph Function Controls

The graph of the selected definition can be shown or cleared using the controls on the right side of the panel. Definition data can even be replaced with definition data from secondary database.

Depending on the graph data, different actions are possible:

MGraph.Show.49x49 Show Graphs

Generate a Multi Graph Drawing for the selected definition

 

MGraph.Clear.49x49 Clear all Data

Removes all graphs from the selected definition.

Info If the Shift key is pressed while clicking, the General options of the selected definition are cleared as well.

MGraph.Import.49x49 Load definitions from Sec. Db.

All Multi Graph Definitions in the current project are cleared and data from all Multi Graph Definitions defined in the secondary database are copied (only accessible if a secondary database is defined).

Warning The Multi Graph Definitions are cleared even if the secondary database does not have any Multi Graph Definitions defined.

 

Curves Data

Show/hide the top table showing the graphs source data.

Curves Setup

Show/hide the middle table showing the graphs data range, labels and appearance.

General

Show/hide the bottom table showing the general labels and options.

Click to expand/collapseHow to create, rename, copy or delete a Multi Graph Definition

It is possible to create a new definition or to rename, copy and delete an existing definition by using the buttons in the Multi Graph Definition box.

To create a new definition: click on Edit.New.16x16 button, enter a name for this definition and press Enter to confirm the action.
To rename or copy an existing definition: select the to be renamed definition, click on Edit.Rename.16x16 button to rename or click on Edit.Copy.16x16 button to copy, enter the new name for this definition and press Enter to confirm the action.
To delete a definition: select the definition and click the TtblCDel button.

Click to enlarge the screenshot

Info The 'Default' definition cannot be deleted.

Info Renaming 'Default' definition to 'XXX' means moving graphs data from 'Default' to 'XXX'.

Info To cancel the action in the middle of the process (in case that the button is clicked accidentally), just hit the Esc key.

Click to expand/collapseHow to copy or remove graph

Removing or duplicating graph can be done using the buttons on the right side of 'Curves Data' table.

Click to enlarge the screenshot

Info Adding graphs is only possible through the 'Add selection to Multi Graph' button on a data table's panel toolbar.

Info To remove all graphs, the 'Clear all Data' button on the right might be used as well.

Click to expand/collapseHow to modify graphs data

The layout of each graph can be changed in the 'Curves Setup' table.

Click to enlarge the screenshot

Labels for each graphs x- or y-axis can be added in the 'X-axis title' and 'Y-axis title' columns.

The data ranges X(min) to X(max) and Y(min) to Y(max) to be shown can be changed individually for each graph.

Using Y(reference), a reference value can be given to create a reference line for each graph. The reference line will be drawn for both the positive and negative absolute values.

The colour and line style of each graph can also be changed individually.

Click to expand/collapseHow to group graphs

X-axes or Y-axes of different graphs can be linked, i.e. one axis is to be used for two or more graphs. The axis that will be shown in the Multi Graph, can be found in the Link to(..) columns by its ID number. If graphs are linked, data of the axis where the Link to(..) column is filled, will not be used in the Multi Graph.

Click to enlarge the screenshot

Info The data range shown is determined by the linked-to axis. If the data of the graphs linked together differs wildly, no data might show from one or more linked graphs.

The X-axes of graphs 2, 3, 4, 5 and 6 are linked to the X-axis of graph 1. Therefore, X-axes data of graphs 2, 3, 4, 5 and 6 will not be used in the Multi Graph.

Click to enlarge the screenshot

The Y-axes of graphs 2 and 3 are linked to the Y-axis of graph 1, and the Y-axes of graphs 5 and 6 are linked to the Y-axis of graph 4. Therefore, Y-axes data of graphs 2, 3, 5 and 6 will not be used in the Multi Graph.

Click to enlarge the screenshot

Click to enlarge the screenshot

Click to enlarge the screenshot

Click to expand/collapseHow to compare data from current project (primary) with data from the secondary database

To compare data from the primary database with data from the secondary database:

1.You need to add these data from both databases to a Multi Graph Definition (how to do this, please see topic Multi Graph).

In the example below, the displacements of a 8" pipeline with and without internal pressure (40 bar) are being compared.

Multi Graph Compare Definition

As seen in the screenshot above, information about the origin of the data can be found in column Project. Data in the first 3 rows come from the primary database (current project: pipeline without internal pressure) and the last 3 rows are from the secondary database (pressurised pipeline). Please note, that even though the first 2 rows data from the secondary database are actually unnecessary ('Z-coordinate pipe axis' and 'Ground level' from table 'Vertical profile data'), this is a nice way to check whether the pipe configuration data are correct.

2.Make sure you link both X as well as Y axes to the correct graph. In this case, the X axes of each graph is linked to Vertical profile data from the primary database. Link also the Y axes of each graph to Vertical profile data except for the Displacements. The Y axes of Displacements from both databases are linked to each other.
3.When finished, click on Show graph button to view the result.

Click to shrink the screenshot

The topmost lines are the Ground level lines (solid green line from the primary database and dash brown line from the secondary database).  These lines cover each other which means that the ground level of both projects are located on the same position.

The lines in the middle of the graph are the Z-coordinate pipe axis lines (solid brown line from the primary database and dash black line from the secondary database). Also these lines cover each other. This means that the pipe configuration of both databases is the same (in the Z direction).

For this particular situation, the same conclusion can be made for the Displacements line (solid blue and dash red lines on the bottom of the graph). An internal pressure of 40 bar affects hardly in this case.

Below, more examples of data comparison can be found below for this particular 8" pipe situation.

Click to shrink the screenshot

Click to shrink the screenshot

Click to expand/collapseMulti Graph Plot Options

Setting or changing the general options of the drawing to be shown in the multi graph drawing panel can be done in General table. Make sure  that the checkbox General on the left side is checked. General labels and a description of the multi graph drawing can be added here.

MultiGraph Overview General

Certain types of graphs (graphs of tables where only a limited selection of the nodes or elements are given) normally are drawn with vertical lines at the node/element position. By setting the checkbox Show "lines" instead of "boxes" those graphs are also drawn as conventional lines without the vertical parts.

Additional space can be added to the left and below the drawing by changing the Reserve space values.

Info These values normally should remain at 0. Only if e.g. a drawing with 1 x-axis has to be exactly the same size as one with 2 axes, "dummy axes" can be added here.


MultiOver, last changed: 14/09/2016

See also:

Single (Table) Graph

Pipeline View