---
title: "Change the scale of graphed data"
canonical: "https://help.vicon.com/space/Tracker41/14320539/Change%20the%20scale%20of%20graphed%20data"
format: markdown
---
In the Graph Plots view, you can control the x- and y-scale of the data plotted by selecting options on the toolbar, in context (right-click) menus, and by dragging with the mouse.

> Macro (scroll-only)
> 
> > Macro (toc)

## Use the toolbar options for scaling

In the Graph Plots view, the graph plot scaling options in the toolbar enable you to control the type of scaling that is possible and whether or not it is locked to prevent further changes.

![image](media://deef265e-0fac-419b-bdbe-78e5d28ec0b4)

> Macro (scroll-tablelayout)

|  |  |
| --- | --- |
| ![image](media://391db765-6448-49fd-a927-b43257e33735) | To prevent any changes to the x-axis (deactivates pan/zoom and fit), select the **Lock x-axis** button. |
| ![image](media://1cf63899-214d-49c2-bef8-600461147b15) | When you select the **Scale to fit x axis** button, the axis range is automatically adjusted to fit the data currently stored in the channel cache ([Graph Plots terminology](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14320586)).<br>- When auto-fit is on, the mouse pan/zoom is turned off.
- Fits to min/max of data range. |
| ![image](media://c59543e3-348b-4090-956c-3fac9fed2d9a) | To prevent any changes to the y-axis (deactivates pan/zoom and fit), select the **Lock y-axis** button. |
| ![image](media://d0097356-7175-4f43-a2f2-75e919fc352f) | When you select the **Scale to fit y axis** button, the axis range is automatically adjusted to fit the data currently stored in the channel cache ([Graph Plots terminology](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14320586)).<br>- When auto-fit is on, the mouse pan/zoom is turned off.
- Fits to min/max of data range + 5% padding |

> ⚠️ **Note**  
> ⚠️ When either of the **Scale to fit** modes 
> ⚠️ 
> ⚠️ ![image](media://1cf63899-214d-49c2-bef8-600461147b15)
> ⚠️ 
> ⚠️ ![image](media://d0097356-7175-4f43-a2f2-75e919fc352f)
> ⚠️ 
> ⚠️  is disabled, the graph axes revert back to their previous (non-fitted) state.   
> ⚠️ This may result in a graph which is not properly scaled and you may need to manually scale or use the context menu to visualize your data again.

> Macro (anchor)

An additional option at the bottom right of the Graph Plots view enables you to specify the Live data range.

> Macro (scroll-tablelayout)

|  |  |
| --- | --- |
| ![image](media://5521144c-a6c0-4394-9d8b-9f381ed26d80) | The **Live data range** list enables you to choose the default time axis range (ie, x-axis) and, as a result, the amount of data stored in the channel cache ([Graph Plots terminology](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14320586)).  
Note if the duration of the **Pause Buffer Size** (Advanced parameter in the **Processing** panel > **Output** section) is less than the **Live data range**, selecting a new channel source to create an active channel will only display data initially for the duration of the **Pause Buffer Size**.<br>This control is not displayed when Tracker is in Review mode.<br>> Macro (scroll-pagebreak) |

## Use the context menu for scaling

In a Graph Plot view, you can right-click to display a context menu.

The context menu options depend on where the right-click occurred:


    **Graph Plot**


![image](media://0e90d1ea-e26a-4df5-ae48-c7b0d69c49c7)


    **Y-axis**


![image](media://7ce3acc5-168d-40d5-a2b6-dc08f79a7d9a)


    **X-axis**


![image](media://691038b2-7fe0-4842-bdd9-0d214c6868fa)

> Macro (scroll-pagebreak)

The following table describes the function of each of the options.

| **Option** | **Function** |
| --- | --- |
| Pin Channel | Allows you to pin or unpin a channel from the current subplot. See [Manage channels](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14319796) for more information. |
| Reset X-Axis | Resets the range of the time axis. This affects the x-axis range for all subplots. |
| Reset Y-Axis | Resets the range of the y-axis of the current subplot |
| Reset All Y-Axes | Resets the range of all y-axes within the Graph Plot view |
| Reset All Axes | Resets the range of both the x- and y- axes for all subplots within the Graph Plot view. |
| Relative Time Display | The default time index is always relative to the current frame. In this mode, the current frame is at 0 while the previous frame is at -1.  De-selecting this option displays the time relative to the beginning of the current session (for more information on sessions, see [Tracker fundamentals](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14320351)).  In this mode, the frames count from 0 which represents the start of the current session.  
**Note**: This option is only available when Tracker is not in Review mode. When Tracker is in Review mode, the time displayed is always the session time display. |

> Macro (scroll-pagebreak)

## Use the mouse for scaling

Graph plots have a range setting (where range is the minimum and maximum value on the axis). Zooming changes the length of the range; panning changes the central point of the range.

The following table describes the mouse actions required to zoom or pan a graph plot. A full list of mouse actions can be found at [Graph Plots mouse actions](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14324126).

| **Required zoom or pan** | **Mouse action** |
| --- | --- |
| Zoom on a single axis only | Right-click and drag on the required axis. |
| Zoom on both the x- and y-axis | Right-click within the subplot window and drag the subplot. |
| Pan on a single axis only | Middle-click and drag on the required axis. |
| Pan on both the x- and y-axis | Middle-click within the subplot window and drag the subplot.  
Note that the middle-click can be substituted by the wheel button or by simultaneously pressing both the left and right mouse buttons. |

When you zoom or pan, a bold circle is displayed, representing the deadzone. If the mouse pointer is within the deadzone, no zoom or pan change occurs. A faint circle is drawn when the mouse pointer is outside the deadzone, highlighting the current pointer position.

|  |  |
| --- | --- |
| ![image](media://6e99e838-eeea-4a24-a919-fcb0a6bcaa0e)<br>*Zoom indicator* | ![image](media://0de79b86-8bad-4bdf-8c4e-20857c691855)<br>*Pan indicator* |

When multiple x-axes are present, zooming or panning one affects all the x-axes (they are linked).

> ⚠️ **Note**   
> ⚠️ For zooming and panning to work in this way, ensure that neither axis is locked or auto-scaling.   
> ⚠️ To check, verify that:
> ⚠️ 
> ⚠️ - The **Lock axis** buttons and the **Scale to fit** buttons, both horizontal > Macro (inline-media-image)
> ⚠️ 
> ⚠️  > Macro (inline-media-image)
> ⚠️ 
> ⚠️  and vertical > Macro (inline-media-image)
> ⚠️ 
> ⚠️  > Macro (inline-media-image)
> ⚠️ 
> ⚠️ ), are *not* selected.
> ⚠️ - **Show pan/scale overlay graphics** is enabled within Preferences (see [Preferences options](https://vicon-help.atlassian.net/wiki/spaces/Tracker41/pages/14320140))