pictures/imod_logo.png

iMOD User Manual version 5.2 (html)


6.6Legends

This section describes the usage of legends.


6.6.1Adjust Legends

A legend is assigned to a map (*.IDF, *.IPF, *.IFF, *.GEN, *.MAP). Make sure you select one of them in the iMOD Manager to activate the Legend button on the Maps tab of the iMOD Manager. Alternatively you can click the right mouse button anywhere on the canvas and select the option Legend from the pop-up menu and then choose the option Adjust Legend. In both cases, the Legend window will appear, two examples of the Stretched tab on the Legend window, left using all color gradients (7 gradients), right using the first and last only (one gradient).

Legend window, Stretched Tab using all color gradients:

pictures/h1-h3/adjust_legend.png

Legend window, Stretched Tab using two color gradients:

pictures/h1-h3/adjust_legend2.png


pictures/h1-h3/image220.png

Flip Colours
Click this option to “flip” the colour sequence, e.g. red becomes blue and blue becomes red.


pictures/h1-h3/image221.png

Histogram
Click this button to display a frequency distribution of the current legend classes. Move your mouse in the graph to show the value (X-crd) and the frequency in % (Y-crd).

Graph Window (with a Frequency Distribution for 250 stretched legend classes):

pictures/h1-h3/image222.png


pictures/h1-h3/image223.png

Zoom In
Click this button to zoom in at the position of the mouse cursor, repeatedly. Right click the mouse to stop.


pictures/h1-h3/image224.png

Zoom Out
Click this button to zoom out at the position of the mouse cursor, repeatedly. Right click the mouse to stop.


pictures/h1-h3/image225.png

Zoom Window
Click this button to zoom into a drawn rectangle. Left click the mouse to define the first corner of the rectangle. Left click again for the second corner. Right click to cancel the zoom operation.


pictures/h1-h3/image226.png

Zoom Full
Click this button to adjust the zoom level to the full extent of the graph.


pictures/h1-h3/image227.png

Move
Click this button to move the graph. Keep the left mouse button pressed and drag the mouse cursor to move the graph.


pictures/h1-h3/image228.png

Copy to Clipboard
Click this button to copy the graph onto the clipboard of Windows. Paste the image into e.g. Word by the Ctrl-V key combination

Xcrd=
Ycrd=

Display of the coordinates of the current mouse position.

Help...

Select this button to start the Help functionality.

Close

Select this button to close the Graph window.

Header

Enter a descriptive text for the corresponding legend. The text will be plotted on top of the legend whenever the legend is plotted on the graphical canvas. Leave the input field empty to ignore any legend header.


pictures/h1-h3/image229.png

Open Legend File
Click this option to open an existing *.LEG-file for the syntax.


pictures/h1-h3/image230.png

Save Legend File
Click this option to save the current legend in a *.LEG-file.


pictures/h1-h3/image231.png

Predefined Legends
Click this option to select a predefined legend. Select one of the available legends and click the OK button to read the selected legend into the Legend window.

Predefined Legends:

pictures/h1-h3/image232.png


pictures/h1-h3/image233.png

GridCells
Click this option to display the IDF-file with filled gridcells.


pictures/h1-h3/image234.png

ContourLines
Click this option to display the IDF as contourlines.


pictures/h1-h3/image235.png

Flow direction
Click this option to display arrows indicating the direction of flow.


pictures/h1-h3/numbers.png

Data Numbers
Click this option to display the actual data on the mids of the selected IDF file. The size of the text is given by the entered Line thickness.


pictures/h1-h3/image236.png

Line thickness
Click this option to set the line thickness of the contours and the direction of flow arrows. If you specify a line thickness of \(<0\), no labels will be plotted and the line thickness becomes the absolute given thickness, e.g. a line thickness of -2 means a line thickness of 2, without any label plotted.


pictures/h1-h3/image237.png

ColorMark
Select the checkbox (2-6) to turn on/off the corresponding colour in the legend colour ramp. Clicking on the coloured field (red in this case) will show the default Colour window wherein you can specify another colour.


pictures/h1-h3/image238.png

Class
Enter a class that corresponds to the colour, in this case the value 8.2890 corresponds to the red colour in checkbox 2.

Give Min-Max
values

Select this checkbox to enter a minimum and maximum value. As a result only the top and bottom input fields will be available to enter values.

Default Colours

Click this option to reset the current colours for the default colours.

Apply

Click this button to apply the legend setting to the current selected map file (IDF, IPF, IFF or GEN).

Cancel

Click this button to close the Legend window without applying any changes to the current legend settings.

Help

Click this button to start the iMOD Help Functionality.

Note: A stretched legend contains always 255 colours and classes. Whenever a legend contains 50 classes or less, the Classes tab will appear instead.

Legend window, Classes tab:

pictures/h1-h3/adjust_legend_classes.png

Upper

The first column shows the Upper limit for each class, enter different values if desired.

Lower

The second column shows the Lower limit for each class. It will be filled in automatically based on the filled in values for the Upper limit. The Lower limit should be filled in for the last record only.

Color

The third column displays the colour for the class. You can click on the colour to display the Colour window. The colour will be used to colour the values less than the Upper class and greater or equal to the Lower class.

Label

The fourth column shows the label that can be displayed in the Legend tab on the iMOD Manager window and/or plotted on the canvas. The label can be entered with a maximum of 50 characters.

Freq. (%)

The fifth column shows the frequency of occurrence of values within each class. It is only applicable to IDF-files.


pictures/h1-h3/image241.png

Insert a Row
Click this button to insert a row in the table. It will be inserted one row above the row you select.


pictures/h1-h3/image242.png

Delete a Row
Click this button to delete the selected row.


pictures/h1-h3/image243.png

Flip Colours
Click this option to “flip” the colour sequence.


pictures/h1-h3/image244.png

Histogram
Click this button to compute the frequencies of IDF values within each class of the current legend, a histogram is plotted, see above for an explanation). The computed values are temporary written in the fifth column. Once the Legend window has been closed, the values are removed.

Graph window:


pictures/h1-h3/image222.png

Update
Labels

Click this button to update the labels in the Label column. These values will be used whenever the legend is plotted on the graphical canvas.

Header

Enter a descriptive text for the corresponding legend. The text will be plotted on top of the legend whenever the legend is plotted on the graphical canvas. Leave the input field empty to ignore any legend header.

Note: The maximum number of classes in a Classed Legend is 50. However, less is often desired. You are requested to specify beforehand the number of classes you want. When switching from the Stretched tab to the Classes tab, the following window will appear.

Class Definitions window:

pictures/h1-h3/image247.png

Number of classes (1-50)

Enter the number of classes for which the stretched legend will be transformed.

Take class
as-is

Select this option to sample from the classes as specified in Streched legend. If deselected, iMOD will try to round the class-interval to nice numbers that might - however - yield less classes.

Fixed Interval

Select this option to generate a legend with a fixed interval, e.g. 1.0 in between the specified Minimal Value and Maximal Value. iMOD starts at the minimal value and add another class with the specified interval to a maximum number of 50 classes or less if the maximal values is reached prior to that.

Minimal Value:

Enter a minimal value for the legend, e.g. -2.5.

Maximal Value:

Enter a minimal value for the legend, e.g. 40.0.

Ok

Click this button to continue to the Classes tab of the Legend window.

Close

Click this button to close this Class Definition window and return to the Stretched tab of the Legend window..

Help

Click this button to start the iMOD Help Functionality.


6.6.2Generation of Legends

All active maps are accompanied by a legend. IDF-files are drawn standard by a legend, as well as IPFs, IFFs, ISGs and GENs. However you can let iMOD assign classes and colours also. In that case you should select the respective *-options under Map, or alternatively you can press the right mouse button anywhere on the canvas to see the following options:

Note: Whenever the number of unique classes exceeds the maximum of 50, iMOD will distribute the original number of classes to fit the maximum of 50. It will take the frequency of the original classes into account, such that the frequencies of the renewed classes are evenly distributed.

Information window:

pictures/h1-h3/image249.png


6.6.3Synchronize Legends

Whenever more than one map is selected in the iMOD Manager then the option Synchronize Legends becomes available to display the Synchronize Legends window. You can open this window by selecting the menu option Map and the option Legend or alternatively the same menu options from the popup menu whenever you click your right mouse button anywhere on the canvas.

Synchronize Legend by window:

pictures/h1-h3/image250.png

List menu

The menu list displays all the selected IDF-files from the iMOD Manager. The legend from the one that is selected (in this case the PWTHEAD_19890114_L1.IDF) will be used to be copied to the others.

Apply

Click this button to synchronize the listed IDF-files to the selected IDF and close the Synchronize Legend window.

Close

Click this button to close this Synchronize Legend window without changing any legend.


6.6.4Plot Legends

Right-click your mouse button anywhere on the canvas to select the menu option Legend and then choose the option Plot Legend on Map to plot the legend of the last drawn Map on the canvas.

How to move the legend:

pictures/h1-h3/image260.png

The first picture shows that you can move the legend whenever the mouse symbol changes in a cross. The 2\({}^{nd}\), 3\({}^{rd}\) and 4\({}^{th}\) show that you can increase and decrease the size of the legend whenever the arrows appear (near the legend boundaries).

Whenever you right click the mouse button, you can specify the number of columns (1-5) that are used to display the legend, by selecting those in the popup menu Legend Columns. Whenever the legend contains less or equal 50 classes, the legend will be plotted such, that you can distinguish all the classes.

pictures/h1-h3/image264.png

The left two pictures show a legend for two and four columns (both 255 classes) and the right picture shows a legend with 10 classes.

To remove the legend from the map, deselect the Plot Legend on Map option again.

Note: The size of the text will increase and decrease whenever the size of the legend area is changed. So, to increase the textsize, you should increase the area for the legend.

The following sections contains detailed descriptions of the Map options for different files that iMOD supports.