Line Plots
Graph data using line plots.
Line plots are the main visualization tool in the Synnax Console. Line plots can be used to plot real-time data or historical data. They can plot one or several channels along the y-axes, and the x-axis can be time or another channel. An example line plot is shown below:
Click the visualize button in the bottom-right corner to open the visualization toolbar.
Visualization Toolbar
Data Tab
Parameter | Description |
---|---|
Y1 | The channels to plot along the left-hand axis. |
Y2 | The channels to plot along the right-hand axis. |
Ranges | The time ranges to plot. If you select multiple ranges, the x-axis will scale to accommodate both. Rolling time ranges allow you to stream live data. |
X1 | The channel to use for the x-axis. |
Lines Tab
Parameter | Description |
---|---|
Label | The text that appears in the legend for the channel. Changing the label does not change the channel name. |
Line Width | The thickness of the line. |
Downsampling | Reduces the number of data points plotted for each channel. If downsampling is 5, every 5th data point is plotted. |
Color | The color of the line. |
Axes Tab
Parameter | Description |
---|---|
Lower Bound | The lower bound of the axis. |
Upper Bound | The upper bound of the axis. |
Tick Spacing | The distance between tick marks on the axis. |
Label | The title of the axis. |
Label Direction | The direction of the axis title. |
Label Size | The size of the axis title. |
Properties Tab
Parameter | Description |
---|---|
Title | The title of the line plot. |
Show Title | Whether the title is visible on the line plot. |
Show Legend | Whether the legend is visible on the line plot. |
Navigating the Plot
In the bottom-left corner of the screen, there are options for navigating the line plot.
Zoom
Zoom on the line plot by clicking the zoom button in the or by pressing (Windows) / (MacOS) and left click. This will adjust the axes of the line plot to the area of the box.
Pan
Pan the line plot by clicking the pan button or by pressing and left click.
Select
Select data by clicking the selection button or by pressing (Windows) / (MacOS) and left click. This box allows you to select data by dragging on the line plot. After selecting data you can right click and copy the time range to be used in Python, TypeScript, or ISO formats. You can also create a range from this selection, or download the data as a CSV.
Reset Zoom
Reset the zoom by clicking the expand button or by pressing (Windows) / (MacOS) and left click.
Show Tooltip on Hover
Clicking the tooltip button will determine whether a tooltip is shown when hovering over navigation options.
Slope
The slope button allows you to select two points on the line plot and
calculate the slope between them. You can also see the difference in the x and y axes.
To change the first point, press the 1
key and click on the line plot. To change the
second point, press the 2
key and click on the line plot.
Pause Live Plotting
Pressing the H
key or clicking the pause button will pause live
plotting.