Introduction

MOHID Studio uses a customized graph engine to display time series in from of XY Graphs. The series can be loaded directly from MOHID ASCII Time Series files or from MOHID Studio’s database.

Tasks related with Graph Visualization can be performed from the "XY Graph" menu (represented in Figure 1).


MOHID Studio - User Guide v2 10.png
Figure 1 : XY Graph menu.


Time Series are displayed in "XY Graph Windows" (represented in Figure 2). "XY Graph Window" is divided in two main areas: (i) the Series List, on the left side, and (ii) the Series Display graph, on the right side of the window. "XY Graph Window" will open a new tab and will be placed next to the tab "Explorer" and "Map".


MOHID Studio - User Guide 81.png
Figure 2 : XY Graph window.


The Series List contains series that are currently loaded and on the Graph Display are represented the series graph. A small set of control tools, located in the upper right corner of the Graph Display, allows panning, zooming and querying the series graph (represented in Figure 3).


MOHID Studio - User Guide 82.png
Figure 3 : XY Graph controls.



Graph Windows

Graph windows can be created by several different ways: (i) opening a MOHID ASCII Time Series File, (ii) loading a series from MOHID Studio’s database, (iii) loading a previously saved Graph Window or by (iv) opening a series from MOHID Studio’s Explorer window.

After selecting one of any these four options, the Time Series Selection window (represented in the Figure 4) will appear. Through this window is possible to choose the time series that will appear on graph. To select a time series check the row, on the field "Load", (on the upper part of the window see Figure 4). It is possible to select on or more time series. After selecting the time series, to be loaded in the graph window, choose if they will be displayed on a new graph window or added to an existing window (lower part of window, see Figure 4). If you select to add on an existent window, select in which one is to be loaded. The XY Graph windows can be renamed to easily identify them (lower part of window, see Figure 4).

MOHID Studio allows select a chosen chart style. The chart styles available are available on a dropdown box. If none of the chart styles is selected, MOHID Studio will use the default chart style.


MOHID Studio - User Guide 83.png
Figure 4 : Time Series Selection Window.


Create from MOHID ASCII Time Series File

A new Graph Window, using a MOHID ASCII Time Series File as initial source, can be created by pressing "New (File)" on Graph Windows group from the "XY Graph" menu (see Figure 1). After selecting a file, containing one or more time series, the Time Series Selection Window will be shown (represented in Figure 4). After selecting one or more series press the "Ok" button and the new graph window will be created.

Create from MOHID Studio’s database

A new Graph Window, using a MOHID Studio’s database as initial source, can be created by selecting "New (DB)" on Graph Windows group from the "XY Graph" menu (see Figure 1). This brings up immediately the Time Series Selection Window (represented in Figure 4) with all available series from the MOHID Studio’s database. After selecting one or more series press the "Ok" button and the new graph window will be created.

Closing a Graph Window

A Graph Window can be closed by pressing the button "Close" on the Graph Windows group from the "XY Graph" menu (see Figure 1). This will close the current Graph Window. It is also possible to close the Graph Window by clicking in the XY Graph window with the middle mouse button or press the cross in the upper right corner of the window (represented in Figure 5).


MOHID Studio - User Guide 84.png
Figure 5 : Close XY Graph Window.


Saving a graph window

A graph window can be saved, including all the series and associated data. To save a graph window press the button "Save" on Graph Windows group from the "XY Graph" menu (see Figure 1). This will save the entire graph as an XML file and can be loaded at any time.

Open/Load a saved graph window

A graph window can be created from a previously saved XML file. To open a previously saved graph window, press the button "Load" on Graph Windows group from the "XY Graph" menu (see Figure 1). The graph will be displayed with all series and settings previously saved.

Create from Explorer

It is also possible to create graph windows directly from MOHID model results. This can be easily done, after the model execution is complete, by double clicking over a given Time Series file listed in the Explorer window (under the Time Series Files group), as represented in Figure 6. Another way to create a graph from the explorer window, is to select the chosen Time Series file, as represented in Figure 6, and click on the first button from the left on the Time Series Files group (the button is highlighted in Figure 6).


MOHID Studio - User Guide 85.png
Figure 6 : Open Graph windows from Studio Explorer.



Series

Adding Series

Series can be added, as mentioned previously, from MOHID ASCII Time Series Files or directly from MOHID Studio’s database. The processes of adding series to an existent Graph Window is the same as create a new window, the only change needed is to select the option "Add to an existent graph" on Series Selection window (see Figure 4).

Series can also be added to a graph by pressing "Add (File)"/Add (DB) in group Series from the "XY Graph" menu (see Figure 1).

Removing Series

Series can be removed from a graph by pressing "Remove" in group Series from the "XY Graph" menu (see Figure 1).



Graph Layout

MOHID Studio’s XY Graph window allows the user to configure the all layout area of the graph. To configure the Graph are use the Property Window.

Property Window

The properties of the XY Graph Window can be easily changed by pressing the top right button, from the XY Graph Window (highlighted in Figure 7). After pressing the property window button a new window will opened (represented in Figure 8).

MOHID Studio - User Guide 86.png
Figure 7 : Graph property window.

In the Graph properties window is possible to change the layout area of the graph (for example: background color, the series palette, series legend and so on).

Templates

MOHID Studio’s Graph engine allows creating completely costumes layout of graphs, save these layouts as templates and then they can be applied as template to other graphs.

The Graph’s layout can be saved by pressing the button "Save Layout" on Image group from the "XY Graph" menu (see Figure 1). The Layout will be saved as an XML file.

To apply a saved layout, after the graph is loaded, press the button "Apply Layout" on Image group from the "XY Graph" menu (see Figure 1). Then choose a saved template (XML file) and press the button "apply". The layout will instantly be applied to your graph.

MOHID Studio - User Guide 87.png
Figure 8 : XY Graph Property Window.

Save image

MOHID Studio’s Graph window also allows the user to save the graph as an image file. To save an image file with your graph press the button "Save" on Image group from the "XY Graph" menu (see Figure 1). Then select the location and the name for the image file and press "Save". The image file types available are: BMP, GIF and PNG.

Series layout

Series can be individually configured in the "Series Properties" box (represented in Figure 9), located below the Series List (see Figure 2). For more specific properties press the button "more".

MOHID Studio - User Guide 88.png
Figure 9 : Series Properties.

Axis Properties

The graph axis can be also configured. To configure the axis use the "Axis Properties" box (represented in Figure 10), located below the Series List (see Figure 2). For more specific properties press the button "more".

MOHID Studio - User Guide 89.png
Figure 10 : Axis Properties.



Links

Go back to MOHID Studio User Guide

User Guides