# Customize the group charts

How to access these options

Do one of the following:

▪Double-click the chart.

▪Right-click the chart and select Chart Properties.

▪Click the Edit Chart Properties button (if there are more charts in the same tab, the first one is selected by default. To customize another one, first click the chart you want to edit).

tip To apply the same properties to all charts in the same tab, make the changes in one chart and then click Apply to All.

What do you want to do?

▪Change chart type, size and title

▪Arrange the data in the chart

▪Show the error bars

▪Sort the element of a chart

▪Change colors, fill patterns, dot size and bar width

▪Edit axes, gridlines, and legend

▪Apply the changes to other charts

▪Reset to default charts

tip If you want to make a Box and whiskers chart, you must first specify 5 number summary as a group statistic for the variable of interest. You can do this in two ways: (1) in the Analysis profile, open the variable settings window and locate the Group Statistics tab. Or (2) in the statistics result table, right-click the variable name and choose Properties then locate the Group Statistics tab.

Change chart type, size and title

Click Chart in the Chart Properties window.

▪Chart type. Choose between Bars, Lines, Box and whiskers, and Box, whiskers and data points.

By default, a Bars chart is created. However, if you define time bins, a line chart is created; if you specify 5-number summary in Group Statistics, a box and whiskers chart is created. Select a different type from the list (when applicable).

Choose Box, whiskers and data points if you also want to plot the data points that generated the charts. Note that each dot represents the value of a variable calculated for a specific trial.

▪Chart width. Move the slider or click the arrow buttons to select the required width (range 50-500).

tip To change the width of a chart, you can also drag the vertical line at the right of the chart.

To change the height of the chart, drag the upper margin of the chart window.

▪Display chart title. Enter the title you require. The default is [name of dependent variable] - [name of statistic].

Arrange the data in the chart

Click Data selection in the Chart Properties window.

▪Specifiers. These are elements that can create independent data series. What you see under Specifiers much depends on the variable you want to analyze. They can be single body points (e.g. center-point for the variable Distance moved), subjects, variable states (e.g. Mobile, Immobile and Highly Mobile for Mobility), manually-scored behaviors (Grooming and Not Grooming for the behavior Grooming), or combinations of elements, for example Proximity of Nose point to another subject’s center-point.

Select the specifier that you require.

▪Data Series. Choose the categories that you want to appear in the legend.

If you select Specifiers, for each category on the horizontal axis you get as many data series as the specifiers selected. Note that if you only have one item in the Specifiers box (see above), Specifiers is not in this list.

example 1 You have the two subjects Control and Treated and selected Relative movement in the Analysis profile and selected the body point Nose point for the actor and Tail base for the receiver. The Specifiers of the Chart for Relative movement are Moving to / Nose point / Control - Tail base; Moving from / Nose point / Control - Tail base; No movement / Nose point / Control - Tail base; etc.

example 2 You track the center-point of one animal, specified the zones Center and Border, and selected the dependent variable In zone in the Analysis Profile. The Specifiers of the Chart for In zone are Border / Center-point and Center / Center-point.

▪If you select Results, you get as many data series as the combinations [Result containers]*[Specifiers]. The Results are the names of the Result containers of your Data Profile.

▪If you select Results/Zones, you get as many series as the combinations [Result containers]*[Zones selected in Results per zone in the Data profile]*[Specifiers].

▪If you select Zones, you get as many series as combinations [Zones selected in Results per zone in the Data profile]*[Specifiers].

▪If you select an independent variable, you get as many data series as combinations [independent variable values]*[Specifiers].

important A category or independent variable is listed only when it identifies each group uniquely. For example, if tracks in a group (selection in the Result container of your Data Profile) have two or more different values of Treatment level, this variable is not shown in the list. In this case, the Group Statistics table shows [multiple values] in the header.

▪Horizontal axis. Select what you want to have as the categories on the horizontal axis.

▪Results. To have the groups defined in your Data Profile as the categories.

▪[Independent variable name]. To have for example treatment levels or Dosage values as the categories (but see the note above).

▪Zones, or Results/Zones, (when applicable).

▪Time bins is selected by default when you defined time bins in your Data Profile.

tip To combine two independent variables, choose one as Data series and the other as Horizontal axis (see the figure below).

Show the error bars

Click Data selection in the Chart Properties window. Select Show error bars when you want to plot the standard deviation/standard error as error bars.

The option is only available when the statistic is selected under Group Statistics for that dependent variable. To add the statistic, right-click the header of the dependent variable in the Group statistics and Charts tab and click Properties. Click Group Statistics and select the statistic you require.

Sort the element of a chart

1.In the Chart Properties window, click Data sort order.

2.Here you can change the sort order of the categories for both horizontal axis and data series. Choose Alphabetical (Ascending or Descending) or Manual (click a category and then click the arrow buttons to move it up/down).

Change colors, fill patterns, dot size and bar width

1.In the Chart Properties window, click Series format.

2.Select either Color or Pattern.

3.Under Elements, choose the color or pattern for each item.

These element may include, depending on the type of chart:

▪Body points.

▪Subjects.

▪The type of behavior (e.g. Moving vs. Not Moving).

▪The Median (when you choose a Box and whiskers chart) and the Datapoints (when you choose Box, whiskers and data points chart).

note Pattern fill is only available when you choose a Bars or Box and whiskers chart.

4.The following options are available for some chart types:

▪Dot size. Select the size of the dots. This applies to Box, whiskers and data points. note All dots lie on the vertical middle line of the box plot. It is likely that individual points overlap and are therefore visible.

▪Bar width / Box width. Select the bar/box width (range 0-100). Note that for Box and whiskers charts, this also changes the width of the whiskers.

▪Gap between bars. Move the slider or click the arrow buttons to select the required gap between adjacent bars (range 0-100).

Edit axes, gridlines, and legend

In the Chart Properties window, click Axes and Legend.

For the Vertical axis:

▪Select Display vertical axis title and enter the new title. The default title is [name of trial statistic] [unit].

▪Next to Scale min and Scale max, set minimum and maximum value of the vertical axis automatically (Auto), or select Fixed and enter the values you require.

▪Select or deselect Display gridlines.

For the Horizontal axis:

▪Select Display horizontal axis title and enter the new title. The default title is the name of the category selected as Horizontal axis.

For the Legend:

▪Select Display legend.

The legend lists the possible combinations of specifiers and the item selected under Data series, separated by “/”.

Apply the changes to other charts

Click Apply to All at the bottom of the Chart Properties window. This copies the settings to all charts on that tab, not in other tabs.

Reset to default charts

Click Reset to Default at the bottom of the Chart Properties window. This resets the current chart to default, not other charts.

Notes

▪In Box and whiskers charts, the box includes from 25% (first quartile) to 75% (third quartile) of the data points; the range of data is also named interquartile range. The whiskers include the whole range of the data, including potential outliers.

▪If you deselect an element from the Show/Hide menu, this element is removed from the statistics table, not from the chart.

▪To remove a statistic from the chart, right-click the header of the dependent variable in the table, and click Properties. Click Group Statistics, and deselect that statistic.