Plot Details

This dialog is activated by selecting the Plot... command from the Format Menu. It may also be activated either by a double click on a plot or by right-clicking on a plot and selecting Plot Details.... If there is more than one layer in the window, QtiPlot will select the layer which contains the plot under the mouse pointer. The exact contents of the dialog will vary depending upon how the dialog was invoked and on the type of plot item selected.

The left part of the dialog window is a tree view that shows the plot layers in the active window and the curves and objects which are plotted on each layer. All modifications will be made to the selected item (window, layer, curve or plot object). The right part of the dialog box contains several tabs which depend on the kind of item selected in tree view on the the left side of the dialog. They are described in the following subsections.

If the selected item is a plot curve than the Table, Plot Associations... and Edit Range... buttons become visible. Clicking the Plot Associations... button opens a dialog which can be used to select the columns of the table to be used as X and Y values for the active curve. Clicking the Edit Range... button opens a dialog which can be used to change the visible data range for the active curve. If the Table button is visible, it may be used to access to the table which contains the columns for the selected curve.

Dimensions

In the Dimensions tab you can accurately set the position and size of the graph window. The size can be applied to either the selected window or to all graph windows in the project. When the Keep aspect ratio option is checked, changing either the width or height will proportionally change the other dimension. It doesn't mean that the aspect of the graph window will remain unchanged when you manually resize it with the mouse. If you want to enable this fixed aspect behaviour for the graph layers, you need to visit the layer geometry tab. You should use the preferences dialog if you want to change the default behaviour for all plot layers that will be created in the future.

If the option Do not resize layers when window size changes is checked the size and position of the plot layers will remain fixed when the user changes the dimensions of the window.

Figure 5-45. The Plot Details Dialog: Dimensions tab.

Print

A graph page with dimensions that are smaller or larger than those of the printable area will be printed scaled to the dimensions of the printer page if the Scale layers to paper size option is checked.

Select the Print Cropmarks check box to display crop marks at the margins of the printer's printable area.

Figure 5-46. The Plot Details Dialog: Print tab.

Fonts

Using the controls in the Fonts tab you can customize with just a few clicks the fonts for various elements of all plot layers in the graph window.

Figure 5-47. The Plot Details Dialog: Fonts tab.

Miscellaneous

By checking the Link X axes option in the Miscellaneous tab, the layers in the graph window will be linked: when changing the X axis scale in one layer the X scales in the other layers will be adjusted accordingly. This behavior can be applied to the active window or to all graph windows in the project.

Figure 5-48. The Plot Details Dialog: Miscellaneous tab.

Window Display

In the window Display tab you can define the style for the background of the graph window page. By default it is filled with a solid white color, but you can set it to be filled with a color gradient. By pressing the Set As Default button these settings will be automatically applied to all graph windows created in the future.

Figure 5-49. The Plot Details Dialog: Display tab.

Legends/Titles

The Legends/Titles tab provides controls for automatic legend and title construction in QtiPlot graphs.

You can use the Translation Mode %(1), %(2) drop-down list in the Legends group box to specify the table column header information that should be used in the graph legend. The second Translation Mode drop-down list in the Auto Axis Titles box has the same utility with respect to the graph axis titles.

If the Auto-update box is checked, plot legends are updated each time a curve is added or removed from the plot layer the legends belong to. By pressing the Set As Default button these settings are saved to the user preferences and reused each time you create a new 2D plot window.

Figure 5-50. The Plot Details Dialog: Legends/Titles tab.

The Data Plot Index control is useful when plotting multiple Y columns of data against a single X column. You can use it in order to specify which data column will provide the information for the axis titles. You should be aware that when choosing the data column based on this index QtiPlot takes into account the number of curves attached to each layer axis.

If the option Show Units (when available) is selected the contents of the table column's Unit property will be appended to the axis title. All these settings can be applied to the active graph or to all 2D plot windows in the project, depending on the option you choose in the Apply to... list box on the right side of this dialog tab.

The following tabs are available when an item corresponding to a plot layer is selected in tree view on the the left side of the dialog:

Layer

In the Layer tab you can define the style properties of the plot layer: the background color/gradient and the frame around it. You can also customize the behavior of the plot layer: enable/disable Antialiasing for the drawing of data curves, Autoscaling of the axes range when the data curves are modified and automatic resizing of the fonts when the size of the plot layer is changed by the user (Scale Fonts check box).

The Synchronize scales box is checked by default, meaning that the scale range and the tick divisions of the opposite layer axes (left/right and bottom/top) are automatically forced to have the same values when you modify any of them. If you need to represent different data ranges for each axis you should uncheck this box. This option can also be automatically customized for all newly created 2D plot layers using the Synchronize scale divisions box from the Axes tab of the Preferences dialog.

Figure 5-51. The Plot Details Dialog: Layer properties.

Canvas

In the Canvas tab you can define the properties of the plot canvas: the background color/image and the frame around the canvas.

Figure 5-52. The Plot Details Dialog: Canvas with a solid background color.

Figure 5-53. The Plot Details Dialog: Canvas with a background image.

Geometry

The third tab defines the geometry of the drawing canvas in a plot layer. When the Keep aspect ratio option is checked, changing either the width or height will proportionally change the other dimension. Also, the ratio between the width and the height of the plot canvas will remain unchanged when you manually resize the graph window.

Figure 5-54. The Plot Details Dialog: Canvas geometry.

Speed

The Speed tab can be used to customize the speed mode for the layer. This can be very useful when dealing with very large data sets.

Figure 5-55. The Plot Details Dialog: Layer Speed Mode.

Speed mode uses the Douglas-Peucker algorithm, the purpose of which is to take a curve composed of line segments (or points) and find a new curve with fewer points that is not too dissimilar from the original curve. The algorithm defines 'not too dissimilar' as a function of the maximum distance, the Tolerance, between the original curve and the new curve. The new curve then consists of a subset of the line segments (or points) that defined the original curve. By pressing the Guess button, QtiPlot can provide an estimation for the tolerance value based on the data range of the plot curves.

When the speed mode is enabled, filtering of the data is activated only for the curves with more than the specified maximum number of data points.

Layer Display

The layer Display tab can be used to customize the display options for the plot layer.

The Data Drawing Options group box enables fine control over the way data is drawn on the plot canvas. If the Margins box is checked QtiPlot automatically adds some amount of space before and after the data values along each axis scale. The effect of this option is mainly visible when creating new plots from table columns or when rescaling a plot layer so that all data on the graph is visible, using the Graph -> Rescale To Show All command.

Using the controls in the Drop Shadow group box it is possible to enable/disable the display of a drop shadow effect for all curves in a plot layer. The drawing options for the drop shadows are the color (by default it is set to dark gray), the offset (8 pixels by default) and the blur radius (5 by default).It is also possible to show/hide the drop shadow of individual plot curves via their context menu (right-click on a plot curve in order to make it pop-up).

The controls in the Axes group box can be used to enable/disable the display of individual plot axes.

Figure 5-56. The Plot Details Dialog: Layer Display.

Stack

The Stack tab can be used to customize the vertical offset between data curves. The following stacking modes are available:

None:

Data plots are not stacked. This is the default mode.

Cumulative:

Y values of data plots are stacked cumulatively.

Constant:

Data plot points are shifted by a specified constant value that can be set in the edit box to the right of the Constant radio button.

Auto:

QtiPlot calculates constant offsets based on min-max Y value difference and a specified gap. The gap value can be set in the edit box to the right of the Auto radio button.

Individual:

Each plot has individual offset settings, which can be modified on the Offset tab in the plot details dialog when the corresponding plot curve is selected in the left panel under the expanded Layer icon.

Figure 5-57. The Plot Details Dialog: Layer Display.

Group Edit

The Group Edit tab can be used to customize the appearance of all plot curves with only a few clicks. This is mainly helpful when you have a lot of data curves and you want to avoid individually editing curve style properties.

The Line Color push button in the Increment Curve Properties box is intended to be used in conjunction with the Indexed Colors list defined in the Curves tab of the Preferences dialog. By pressing this button, the line colors of all the data curves in the current plot layer will be changed according to their indices in this list of colors. The other two buttons Line Style and Pattern will change the line style and the fill patterns respectively. Please beware that by pressing the Pattern button the area bellow the curves will be automatically filled, even if it wasn't before.

Figure 5-58. The Plot Details Dialog: Group Edit tab.

The Gradient Fill box adds the possibility to apply a colour map to all plot curves. The default color map can be defined via the 3D Colors tab of the Preferences dialog. The line color, fill color and symbol color of all the data curves will be changed to a color in the user defined range. This change can be applied to the current plot layer or to all the layers in the current graph window as well as to all 2D graph windows.

The same functionality can be accessed via the context menu of a layer (right-click on the layer canvas to make it pop-up). The image bellow shows the Palette sub-menu that can be used to set a gray scale gradient or the default color map. You can also apply the Indexed Colors default list defined in the user preferences. The Style sub-menu gives access to the Increment Line Style and Increment Fill Pattern functions explained above.

Figure 5-59. Context menu of a plot layer.

Curve axes

The Axes tab, the first tab on the right side of the dialog window, allows definition of the pair of axes to which a curve is attached. Attaching different curves on the layer to different X/Y axis pairs permits placing several curves with different x/y scales on the same plot layer.

Figure 5-60. The Plot Details Dialog: Assign Axes.

Line/Pattern

The title of this tab may be either Line or Pattern depending on the type of the selected plot curve. This tab allows customizing the style of the plot line (color, line style, thickness). The connect button allows changing the style which is used to draw the selected curve (steps, droplines, etc). See the Plot menu to see the different types of plots available.

Figure 5-61. The Plot Details Dialog: Line formatting.

Symbol

The Symbol tab can be used to select the plot symbol used for the data points and to modify its aspect (size, color, fill color, transparency). There are three categories of plot symbols available in QtiPlot: Standard, Unicode and Image symbols and you can choose one of them by clicking the corresponding radio button from the top side of this tab. Each category of symbols has its own customizable properties.

The Size drop-down list box may be used to select either a column that contains the size values for the plot symbols or a constant value. Alternatively you may type a custom constant size value. Units are measured in pixels. If the size values are taken from a table column, the Scaling Factor box becomes visible and its value may be used to proportionally increase or decrease the sizes of the plot symbols.

Figure 5-62. The Plot Details Dialog: Standard Symbol formatting.

If the the shape of the symbol is an ellipse (a circle in fact), the Size based on combo box becomes visible. It lets you choose how the area of the symbols is determined by the value selected/typed into the Size combo box. Three options are available:.

Square:

The area is calculated as the area of the square enclosing the circle: A = Size*Size.

Diameter:

The diameter of the circle equals the value defined for Size, the area being calculated as: A = Pi*Size*Size/4.

Area:

The area of the circle equals the value defined in the Size box: A = Size.

The color of the Edge, used to draw the shape of the symbol, as well as the Fill Color, may be either an individual RGB color that you can select from a table by pressing the color button or a color map based on the values stored in a table column. In the second case QtiPlot creates evenly sized ranges of values between the minimum and maximum values of the column selected in the combo box and associates a color with each range of values. The color of the symbol is determined by finding the color associated with the column value into this color map. By pressing the edit button the Custom Color Map dialog pops-up, allowing to customize the default color map.

Figure 5-63. The Plot Details Dialog: Unicode Symbol formatting.

The Original size button is available only if the symbol is an Image. This button is automatically enabled when the current size of the plot symbols is different from the original image size. If pressed, the current size settings are reverted to the original image size.

Figure 5-64. The Plot Details Dialog: Image Symbol formatting.

Labels

The Labels tab is used if you want labels plotted at each data point in the plot. Options are provided to control the font, color, rotation angle and position of these labels.

If the Custom option is selected in the Label Form list box, the user can enter a string format in the text input box that becomes visible. The format string may contain the following synthax specifiers: $(x) and $(y), as substitutes for the abscissa and ordinate values of the curve data points. The display of the numeric values can be customised using the following format specifiers:

*n

Display n significant digits: $(y, *3), where y equals 1.1415, displays 1.14.

.n

Display n decimal places: $(y, .3), where y equals 1.1415, displays 1.141.

E.n

Display n decimal places in engineering format: $(y, E.3), where y equals 0.1415, displays 141.500m.

S.n

Display n decimal places in upper case scientific format: $(y, S.3), where y equals 0.1415, displays 1.415E-01.

If no custom format specifiers are found, QtiPlot uses the values provided in the Format/Precision controls as default, in order to display numeric values in custom labels.

In the case of contour line plots created from matrices, the Label Form list box is not available, the labels being used only to display a Z value for each of the contour lines.

Figure 5-65. The Plot Details Dialog: Labels formatting.

Offset

The Offset tab is only available when the plot layer has the Individual stacking mode enabled. It may be used to specify custom offsets for the plot curves in both horizontal and vertical directions. The values defined in the X/Y multipliers input boxes can be used as horizontal/vertical offsets in case the plot layer has logarithmic scales.

Figure 5-66. The Plot Details Dialog: Offset formatting.

Error bars

With the controls in the Direction group you can specify if the positive and/or negative side of the error bars should be drawn, by checking the Plus and/or Minus boxes. You can also specify if the error bars are horizontal or vertical by checking/unchecking the X Error Bar box.

Using the controls in the Style group box you can customize the error bars in terms of color, line width, cap width and transparency. Finally, it is possible to tell QtiPlot to skip a number of data points when drawing the error bars by specifying a positive value in the Skip Points box.

Figure 5-67. The Plot Details Dialog for formatting error bars.

Pie plots

These commands are available for pie plots. The first tab is used to customize the pie segments. The fields on the left are used to modify the border drawn around each segment. The color, type and width of line may be customized. The default border color is white.

The fields on the right are used to define the fill style used for pie segments. The First color combo-box defines which color is used for the first segment. The remaining segments will be filled with colors that follow the order defined in the combo-box's list. The default value for this field is black, so segments 2, 3, ... will be red, green, etc. These default colors can be customised via the Colors tab. When pressing the Edit.. button, the Colors tab is automatically raised and a color dialog pops-up, allowing to choose a custom color as the first color.

The Pattern combo-box defines the fill pattern that will be used for all segments of the pie. The default value is solid fill.

Figure 5-68. The Plot Details Dialog for pies: Pie Segment Formatting.

If the value selected in the Apply Format to list box is different than Selected Curve, the settings are applied to all pie or doughnut curves from the active Layer, from all plot layers in the current Window or from all 2D plot windows in the project, respectively.

Pie geometry

This tab can be used in order to customize the geometry of a pie chart: its Radius, expressed in percentages of the layer width and its Horizontal Offset, which is the horizontal displacement with respect to the center of the drawing canvas.

The controls in the 3D View group box can be used in order to define a pseudo 3D layout for the pie chart. This can be achieved by defining a View Angle different from 90 degrees and a Thickness, expressed in percentages of the pie radius.

The value of the Size (% radius) input box from the Doughnut group can be used in order to add a doughnut hole in the pie chart and to specify its size in percentages of the pie radius. This control is automatically disabled for 3D pie charts, that is for charts having the value of the View Angle (deg) different from 90 degrees.

Figure 5-69. The Plot Details Dialog for pies: Pie Geometry.

Pie labels

Figure 5-70. The Plot Details Dialog for pies: Pie Labels Formatting.

Colors

The controls in this tab can be used in order to customize the default indexed list of colors used to fill the segments of pie charts.

The indexed color list can be edited using the tool buttons on the right side: the New Color button, the Delete Color button, the Move Color Up button and the Move Color Down button. It is possible to save a custom indexed color list to a text file (*.txt), by pressing the Save As... button. The structure of this file is very simple: the colors are saved one per line, using the RGB format #RRGGBB. The text file can be loaded later on into the color list editor by pressing the Open File... button.

The default indexed color list defined in the preferences dialog can be loaded into the color list editor by pressing the Load Default button.

Figure 5-71. The Plot Details Dialog for pies: Pie Colors Formatting.

Box

Figure 5-72. The Plot Details Dialog for box and hiskers formatting.

Percentile

The controls available in this tab allow to easily enable/disable the display of the symbols for the different percentiles and to modify their settings. If the value activated in the selection box Apply Format to is different than Selected Curve, all settings, except colors, are applied to all box curves from the active Layer, from all plot layers in the current Window or from all 2D plot windows, respectively.

Figure 5-73. The Plot Details Dialog for box: Percentile Formatting.

Outliers

The controls available in this tab allow to easily modify the aspect of the plot symbols used for outliers and extreme values. If the value activated in the selection box Apply Format to is different than Selected Curve, all settings, except colors (for which you need to check the Apply Color boxes), are applied to all box curves from the active Layer, from all plot layers in the current Window or from all 2D plot windows, respectively.

Figure 5-74. The Plot Details Dialog for outliers and extreme values formatting.

Data

The Type list box makes possible to choose the way the information about the binned data points is displayed in a box plot. There are three modes available: Dots, Bars and Dots + Bars. If the selected data type is Bars or Dots + Bars, the checkbox Merge Bars Into Single Block becomes active. If checked, this option disables the drawing of the side lines for the individual bars representing the data bins.

If the option Snap Points to Bin is checked the data symbols are drawn equally spaced in the center of the data bins. Otherwise they are drawn at randomly selected abscissas, within the bin range.

If you click the Show Statistics button from the Bin Worksheet control group, QtiPlot creates a table containing the computed quantities of the bins and the dialog is closed. You may check the Add Distribution Curve option in order to add the data used to create the overlayed distribution curve to this bin table.

Figure 5-75. The Plot Details Dialog for box: Data Formatting.

Distribution

The Distribution Curve control group makes possible to overlay a "pseudo" distribution curve on the binned data by selecting Normal, Lognormal, Poisson, Exponential, Laplace, Lorentz, Weibull, Kernel Smooth, Gamma or Binomial from the Type drop-down list. We call these curves "pseudo" distribution curves because they are not the result of a fit operation performed on the binned data. QtiPlot simply determines the data mean, then overlays the curve so that the means coincide. In the case of a two parameter distribution, the second parameter taken into account is the standard deviation of the binned data.

Figure 5-76. The Plot Details Dialog: distribution options.

In the case of the Kernel Smooth distribution a new Bandwidth select box becomes available. It provides the following two options:

Scott

The optimal bandwidth of the Kernel Smooth distribution is calculated using the formula: w = 0.9*A*N-0.2, where N is the number of bins, A = min(SD, IQR/1.349), SD is the standard deviation and IQR is the interquartile range of the bins data set.

Silverman

The optimal bandwidth of the Kernel Smooth distribution is: w = 1.059*A*N-0.2, where N is the number of bins, A = min(SD, IQR/1.349), SD is the standard deviation and IQR is the interquartile range of the bins data set.

If the Scale to Maximum box is checked an input value box becomes visible, allowing you to control the amplitude of the distribution curve.

Lines

Figure 5-77. The Plot Details Dialog for box: lines options.

Connect

Figure 5-78. The Plot Details Dialog for box: connect options.

Ridgeline Display

The Type list box can be used in order to select the style of a ridgeline curve. There are four default display styles available: Distribution only, Distribution + Data, Distribution + Rug and Bars. In the last case the distributions are represented using histograms.

The baseline of a ridgeline curve can be customized using the Position input box.

Figure 5-79. The Plot Details Dialog: ridgeline display options.

By checking the Quantiles goup box it is possible to draw a set of lines at custom positions that can be specified using the Values text box. Multiple quantile values must be separated by an empty space. The color, width and style of these lines can be easily customized.

Spacing

Figure 5-80. The Plot Details Dialog for Column, Bar and Histogram curves: Spacing tab.

Figure 5-81. The Plot Details Dialog for Box curves: Spacing tab.

Histogram Data

Figure 5-82. The Plot Details Dialog for histograms: Data Formatting.

If you click the Show Statistics button from the Bin Worksheet control group, QtiPlot creates a table containing the computed quantities of the bins and the dialog is closed. You may check the Add Distribution Curve option in order to add the data used to create the overlayed distribution curve to this bin table.

The Hide Bins box is disabled by default. It becomes active only if you choose to display a distribution curve. This can be done via the Distribution tab. If the Hide Bins box is checked, only the distribution curve is displayed.

Vector

The value typed in the Length spin box determines the length of the arrowheads. Units are measured in points. The Angle value determines the arrowhead angles in degrees. You may check the Filled box to display filled arrowheads or uncheck it in order to display the hollow (transparent) arrowheads.

If the vector type is XYXY the End Point controls group is visible and you can select the column that contains the X end point values from the X End drop-down list and the column that contains the Y end point values from the Y End drop-down list.

Figure 5-83. The Plot Details Dialog for Vector XYXY curves.

If the vector type is XYAM two other control groups become visible: Vector Data and Magnitude.

Figure 5-84. The Plot Details Dialog for Vector XYAM curves.

The Angle drop-down list box from the Vector Data controls group may be used to select either a column that contains the vector angle values or a constant value. Alternatively you may type a custom constant angle value from 0 to 360 degrees. The angle is measured counterclockwise.

The Magnitude drop-down list box from the Vector Data controls group may be used to select either a column that contains the magnitude values or a constant value. Alternatively you may type a custom constant magnitude value. Units are measured either in pixels or in real world coordinates (Scale Coordinates), depending on the value selected in the Unit drop-down list box from the Magnitude controls group.

The Multiplier value from the Magnitude controls group may be used to proportionally increase or decrease the length of the vectors. For example, type 0.5 to draw the vectors at half their original length. The default value is 1.

Finally, it's worth mentioning that you may change the vector type from XYXY to XYAM and vice versa using the Plot type drop-down list box from the bottom left corner of this dialog.

Values

This tab is activated by clicking on a contour curve (or on the plotting area) when a 2D plot has been created from a matrix with one of the following commands from the Plot 3D menu: Contour+Color Fill command, Countour Lines command, Countour Lines - Color Mapped command, Gray Scale Map command or Heat Map command.

Figure 5-85. The Values tab.

The Values tab allows choosing the matrix that is to serve as the data source for the plot. It is possible to use the formula defined for the matrix to calculate the plotted Z values by checking the Use matrix formula to calculate values box. This results in higher accuracy, especially when drawing contour lines, but it only works if the formula uses muParser compatible syntax. The Σ button becomes available in this case and can be used in order to open the Set Matrix Values dialog.

If you need higher accuracy but the source data matrix can not use an analytical formula to calculate its values you can use the controls from the Resolution group box. There you can define a larger number of Columns/Rows and press the Resample button. By doing this the dimensions of the source data matrix will be increased. The values of the new data cells are calculated using the method selected in the Interpolation box: bilinear interpolation or bicubic interpolation. Please be aware of the fact that the bicubic interpolation fails if the matrix contains empty cells.

By pressing the x2 button the dimensions of the source matrix are doubled, the values of the new data cells being calculated using the method selected in the Interpolation box. The /2 button performs the opposite operation: the dimensions of the data source matrix are divided by two. It is possible to revert all the changes in resolution by pressing the Undo button.

Colors

Figure 5-86. The Colors tab.

There are two groups of controls on this tab. Each group is activated by checking the box next to the group label. The first group of controls, labeled Image, are used to select the fill type of the contour plot. It is checked when filling of the contour plot is desired. If unchecked, no fill will be used. If filling is enabled, you may choose between gray-scale, a default color mapping and a custom color mapping with the 3 radio buttons. The default gray-scale and color maps are shown in the figure below.

You can only customize the colormap when the Custom Colors option is selected. A table with a set of numbers (the Z levels), and the color corresponding to each Z level, is presented. You can then add, remove or modify levels from the definition of the colormap. Note that this is only the definition of the colormap - it won't change the number of contour lines in your plot.

A click on the Level column header opens a dialog alowing to quickly edit the color map levels by specifying their total number and an intensity range from Minimum to Maximum.

Figure 5-87. Set Equidistant Levels dialog box.

A click on the Color column header opens a dialog alowing to quickly customize the colors in the map by specifying the From and To colors and a color policy (Two Colors or Custom Color Map). It is also possible to select a color map from a predefined list of palettes if the current mode is set to Palette.

Figure 5-88. The Two Colors mode of the Gradient Fill dialog box.

Figure 5-89. The Custom Color Map mode of the Gradient Fill dialog box.

Figure 5-90. The Palette mode of the Gradient Fill dialog box.

An example of classical custom colormap is given here:

As long as the Scale Colors checkbox remains checked, Z-values that fall between colormap levels will be displayed in colors that are interpolated between the colors defined for the bounding levels. It is also possible to define discrete colors for each level. To do this you must uncheck the Scale Colors checkbox. In this case, no interpolation will be done, and you must define enough levels in your colormap to produce a desirable result.

The second group of settings must be enabled if you want a bar scale on your plot. You can then define its position and width.

Contour Lines

The Contour Lines tab is used to customize settings applicable to the contour lines. You can select the number of lines and their color. If you check Use Default Pen, the color of the lines will be defined by the settings in the group of controls to the left of the checkbox. If you check Use Color Map, the lines will be colored as a function of the Z levels from the colormap defined in the Colors setting tab. If you check Use Table Custom Pen, the color of the lines will be determined by the settings defined in the Pen column of the table displaying the Z levels.

Figure 5-91. The Contour Lines tab.

Analysis

Figure 5-92. The Plot Details Dialog for curve analysis operations.

The Analysis tab is available only for plot curves that are the result of an analysis operation (also called an analysis filter). This tab allows to access and edit the properties of the analysis object attached to the plot curve. It also makes possible to remove the analysis filter by clicking the Delete button.

The Edit... button on the right side of this tab closes the current dialog and opens a new dialog that allows to modify the properties of the analysis object. Generally it is the same dialog that was used in order to perform the analysis operation. Please note that not all operations can be edited and if this is the case for the current one the Edit... button is disabled.

By clicking the Copy button the analysis operation is stored to memory and can be applied later on to any other data curve from any plot layer by right-clicking on it and selecting the action Paste Operation from its pop-up context menu.

For all analysis operations there is a mechanism available in QtiPlot that allows to trigger a recalculation when the data source is modified. It is possible to specify the desired recalculation mode using the Recalculate list box. The available options are:

No

- No recalculation when data changes.

Auto

- A recalculation is automatically performed when input data changes.

Manual

- No recalculation is triggered when data changes, instead the user can perform a recalculation at any time by pressing the Recalculate button.

The complete name of the column which is the data source for the operation, as well as the data range are indicated in the Dataset text box. By clicking the Go to Column button the table window that contains this column is activated and the source column is selected.

If the analysis operation is a data fit operation an additional set of controls are available: the Parameters Table and the Covariance Matrix text boxes and their corresponding Go to Window buttons. By clicking any of the Go to Window buttons the corresponding table/matrix window is activated if it already exists, otherwise it will be created using the name provided in the text box.

All the functionality provided by the controls in this dialog tab can be accessesd by right-clicking on a plot curve and selecting the Analysis item from the pop-up context menu.

Figure 5-93. Context menu for a Lorentz data fit analysis operation.