Real-Time Data Plotter
The signal plotter graphs numeric data streaming from your board in real time. It is useful for visualizing sensor readings, monitoring signals, and debugging timing issues.
Opening the Plotter
There are several ways to open the plotter:
- Press
Ctrl O - Click the plotter button in the toolbar (the button turns red when active)
The plotter appears as a tab in the bottom bar. If the bottom bar is hidden, it opens automatically.
Data Format
Your firmware should send numeric values over serial, one sample per line. The plotter parses each line and adds a data point to the graph.
Single Channel
Send one value per line:
512
520
498
Multiple Channels
Send comma-separated values to plot multiple signals simultaneously:
512,1024
520,1018
498,1030
The plotter auto-detects the number of channels from the data. Each channel is displayed as a separate trace on the graph.
Commands
You can send special commands from the firmware to configure the plotter. Commands are sent as data lines with a key:value format.
Labeling Channels
Rename the channel labels displayed in the legend:
label:Temperature,label:Humidity
Scaling
Adjust the offset and span for each channel to normalize the display:
offY:0,offY:0
spanY:1024,spanY:4096
The displayed value is computed as: 100 * (raw_value - offY) / spanY
For example, with offY:0 and spanY:1024, a raw value of 512 is displayed at 50%.
Clearing the Graph
Reset the graph and start fresh:
clear:
Display
The plotter shows a scrolling window of the last 500 samples. Older data scrolls off the left edge as new data arrives.
Tips
- The plotter and the serial console share the same serial port — opening one closes the other.
- Make sure your firmware sends data as plain text with newline separators (
Serial.println()). - Avoid sending non-numeric text while the plotter is open, as it will be ignored.
- You can resize the bottom bar by dragging its top edge.