Skip to main content
Skip table of contents

Interacting with the plots

Interactive diagnostic plots

https://www.youtube.com/watch?v=NFxAtY-KzS0

In the Plots tab, the right panel has several sub – tabs (at the bottom) to interact with the plots:

  • The tab “Settings” provides options specific to each plot, such as hiding or displaying elements of the plot, modifying some elements, or changing axes scales, ticks and limits.

  • The tab “Stratify” can be used to select one or several covariates for splitting, filtering or coloring the points of the plot. See below for more details.

  • The tab “Preferences” alows to customize graphical aspects such as colors, font size, dot radius, line width, …

These tabs are marked in purple on the figure below, which is the panel that is showed for observed data.

plot_menu-20240605-141849.png

Highlight: tooltips and ID

In all the plots, when you hover a point or a curve with your mouse, some informations are provided as tooltips. For example, the ID is displayed when hovering a point or the curve of an individual in the observed data plot, the ID, the time and/or the prediction is displayed in the scatter plot of the residuals.
In addition, starting from the 2019 version, when hovering one point/ID in a plot, the same ID will be highlighted in all the plots with the same color.

https://www.youtube.com/watch?v=DFQmqBztyQ4

Stratification: split, color, filter

The stratification panel allows to create and use covariates for stratification purposes. It is possible to select one or several covariates for splitting, filtering or coloring the data set or the diagnosis plots as exposed on the following video.

https://www.youtube.com/watch?v=H4kVbeW_iJY

The following figure shows a plot of the observed data from the warfarin dataset, stratified by coloring individuals according to the continuous covariate wt: the observed data is divided into three groups, which were set to equal size with the button “rescale” image-20240605-142241.png . It is also possible to set groups of equal width, or to personalize dividing values.
In addition, the bounds of the continuous covariate groups can be changed manually.

2024-04-21_09h48_40-20240605-142258.png

Moreover, clicking on a group highlights only the individuals belonging to this group, as can be seen below:

2024-04-21_09h43_41-20240605-142311.png

Values of categorical covariates can also be assigned to new groups, which can then be used for stratification.
In addition, the number of subjects in each categorical covariate groups is displayed.

Starting from the 2021R1 version, the list of subplots obtained by split is displayed below the split selection. It is possible to reorder the items in this list with drag-and-drop, which also reorders the subplot layout. Moreover, an “edit” icon next to each subplot name in the list allows to change the subplot titles.

2022-01-05_14h26_53-20240605-142336.png

Preferences: customizing the plot appearance

In the “preferences” tab, the user can modify the different aspects of the plot: colors, line style and width, fonts and label position offsets, …

The following figures show on the warfarin demo the choices for the plot content and the choices for the labels and titles (in the “Plotting region” section). The sizes of all elements of the plots can also be changed with the single “zoom” preference in “Plotting region”.

2024-04-21_09h51_401-20240605-142425.png

2024-04-21_09h52_111-20240605-142445.png

Layout

The layout can be modified with buttons on top of each plot.

image-20240605-144345.png

The first button can be used to select a set of subplots to display in the page. For example, as shown below, it is possible to display 9 individual fits per page instead of 12 (default number). The layout is then automatically adapted to balance the number of rows and columns.

layout-20240605-143323.gif

The second button can be used to choose a custom layout (number of rows and columns). On the example figures below, the default layout with 3 subplots (left) is modified to arrange them on a single column (right).

layout_3-20240605-143625.gif

https://www.youtube.com/watch?v=UB3AzZtmo8s
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.