# 8.16.2 The Merge Graph Dialog Box

You can open the Merge Graph Windows Dialog Box from the menu Graph: Merge Graph Windows, when a graph is active.

This function merges the specified graphs into a new graph window. In the new graph, the source graphs are arranged in row by col grid.

## Merge

Specifies the option for selecting the graphs. Options are:

Active Page All graphs in the active page. All graphs in the active folder, excluding those in the subfolders. All graphs in the active folder, including those in the subfolders. All open graphs in the active folder. All graphs in the active folder, including the embedded graphs. All graphs in the current project. Graphs specified by the graphs variable. Note: This is the default option in the drop-down list. And in the below Graphs box, it shows all graphs with a single main layer in current folder (including multiple layers graphs which layers linked to layer1.)

## Graphs

Specifies the graphs to be merged. This box is available only when Specified is selected in Merge option. Note that any two adjacent graph names should be separated by a "/n" character. In the dialog, you can enter each graph name in a separate row.

## Keep Source Graphs

Specifies whether or not to keep the source graphs after the merging is performed.

## Rearrange Layout

Specifies whether to rearrange the layers that belong to graphs that include multiple layers.

## Arrange Settings

Settings to arrange layers:

## Spacing (in % of Page Dimension)

Horizontal Gap Specifies the horizontal gap between adjacent layers. Specifies the vertical gap between adjacent layers. Specifies the left margin to the new graph page. Specifies the right margin to the new graph page. Specifies the top margin to the new graph page. Specifies the bottom margin to the new graph page.

## Page Setup

Orientation Specifies the orientation for the new graph page, inclucing: Landscape Portrait Specifies the width of the new graph page. Specifies the height of the new graph page. Specifies the unit for the new graph page.

## Scale Elements

Scale Mode Specifies how the axes, axes labels, legend, data plots, and other objects that are attached to the Layer Frame or Layer and Scales are affected when a layer in the new graph page is resized. Auto: Uses the settings in the source graphs. Scale with Layer Frame: Scales the layer elements proportionally with the layer. Fixed Factor: Determines the size of the layer elements relative to their original size (font size, symbol size, and line width, etc.). The size of these elements is determined by multiplying their original size by the scale factor specified in the Fixed Factor edit box. This variable is available only when the Scale drop-down is set to Fixed Factor. It specifies the fixed scale factor.

Label Text Controls for adding and formatting labels to merged graphs. None: Labels are not added to graphs. A: The Labels are shown in upper case (A, B, C...) a: The Labels are shown in lower case (a, b, c...) Custom: Define the label in the text box below. This text box displays when Custom is selected in the Label Text drop-down list. Specify the custom label texts. When you select a$and A$, the lowercase and uppercase letters will be enumerated to label the merged layers, such as (a, b, c...) and (A, B, C...). When you select r$and R$, the lowercase and uppercase Roman numerals will be enumerated to label the merged layers, such as (i, ii,iii...) and (I, II, III...). When you select n$, the layer index will be enumerated to label the layers, such as (1, 2, 3...). When you select h$, the character # will be added into the layers. When you can select Graph ## in the Custom text box. Labels in the form Graph 01, Graph 02, Graph 03, etc., will be added to the graphs. The Enable Substitution check box is selected by default, substitution notation and enumeration code are supported. For enumeration code, %(u$) and %(v$) enumerate uppercase and lowercase letters. $(i) and # enumerate index. %(p$) represents character #. Controls label position. Labels can be displayed at Top Left Outside, Top Left Inside, Top Right Outside or Top Right Inside.