Skip to content

Software

rqt_multiplot

From github.com/samuelba/rqt_multiplot_plugin (opens in a new tab)

  • Middleware
  • Tool
  • LGPL-3.0-only

A plotting tool that charts numeric ROS 2 message fields in tiled 2D charts, from live topics or rosbag2 recordings. It runs as a standalone window or as an rqt plugin.

Facts

GitHub stars
1read on 29 Nov 2026
Last update
4 Nov 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Beginner

Checked on GitHub on 29 Nov 2026.

Licenses

Code
LGPL-3.0-only (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (LGPL-3.0-only) at commit 92ffcdd (opens in a new tab), on 6 Nov 2026.

Commercial use
Yes

Copyleft: Modified source must be published.

At a glance

What it is
  • Arranges plots in nested splits and tabs, with linked scales and cursors, so the layout need not be a strict grid.
  • Subscribes to live topics or imports .mcap and .db3 bags, and can overlay two or three recordings aligned by start time or by threshold.
  • Shows a curve-values sidebar, data statistics, and markers A and B that report time differences and slopes between curves.
  • Plots whole array fields against index or another array, and diagnostic messages from /diagnostics.
  • Plots topic rate, bandwidth and delay metrics, and applies filter chains such as derivative, integral, moving average and low-pass to curves.
  • Exports plots as PNG, SVG or PDF, and data as TXT or CSV; layouts are saved and loaded as XML.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
LGPL-3.0-only. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Active, last commit on 4 Nov 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 92ffcdd

Robotheca read the repository at two versions: the summary at 7f99028 and the facts and the README at 92ffcdd (read on 29 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @samuelba, at commit 92ffcdd, under LGPL-3.0-only (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Rqt Multiplot Plugin

(opens in a new tab) (opens in a new tab)

Plots numeric ROS 2 message fields in tiled 2D charts (Qwt (opens in a new tab)). Nested splits and tabs give a layout that is not a strict grid. Subscribe to live topics or import a rosbag2, then inspect values with a linked cursor and a curve-values sidebar. Runs as its own window or as an rqt plugin.

Image: Rqt Multiplot (opens in a new tab)

Authors: Ralf Kaestner, Samuel Bachmann

Maintainer: Samuel Bachmann

License: GNU Lesser General Public License v3.0 (LGPL-3.0)

ROS2 distributions: Jazzy, Lyrical, Rolling

Features
  • Nested plot layout — split any plot left/right or top/bottom and nest splits (two on the left, one on the right). Drag splitter handles; reset the active tab to even sizes. Ratios are stored in the XML
  • Tabs — multiple named layouts in one window; each tab has its own plots, colors, grid, and link/track settings
  • Live topics and rosbag2 — subscribe while running, or import .mcap / .db3 files and bag directories
  • Bag overlay — compare 2 or 3 recordings on the same plots, aligned at the start, at markers, or at a Y threshold
  • Linked plots — shared scale and cursor; optional point tracking under the pointer; click a legend item to hide a curve
  • Curve values — collapsible per-tab list of each curve's latest X and Y, grouped by plot
  • Time axes — message receipt time, start from zero, date-time labels, or raw stamps. Time zone in File → Preferences (local, UTC, or IANA). Optional plot-level Time window (last N seconds)
  • Log scale — optional log scale on a plot's X or Y axis. Values <= 0 are drawn below the axis. Time axes stay linear, and a log plot stays out of linked scale
  • Light and dark — theme and plot-title size, weight, and color under File → Preferences. Changes apply to the open plots
  • Configs and export — File menu: open/save XML (file://, home://, package://); import or add bags; export PNG, SVG, PDF, TXT, or CSV. Unsaved layout changes prompt on close. Older row×column files still load
  • Data statistics — right click on a plot to open the data statistics dialog, showing the mean, std, min, max, median, mode, range, count, RMS, and sum of the data
  • Array curves — plot a whole array vs index (or vs another array field); the series is replaced on each message
  • Diagnostic messages — plot diagnostic messages from the /diagnostics or /diagnostics_agg topic
  • Topic metrics — plot the rate, bandwidth, and delay of a topic, as ros2 topic hz, bw, and delay show them
  • Topic browser — browse live and bag topics, then drag'n'drop a field onto a plot
  • Curve filters — ordered chain on a curve's Y series: derivative, integral, moving average, low-pass, and others. Drag a filter onto a plot, or edit the chain in the curve dialog
  • Markers — two vertical markers A and B per plot, with Δt and per-curve Δy and slope, to measure latency, rise time, or settling time

Also: run / pause / clear, circular and time-frame buffers, rad ↔ deg on an axis, grid on/off, drag-and-drop of curves between plot legends.

Light Multiplot dark theme

Dark

Installation
ROS distribution

Coming soon. The package is not on the ROS build farm yet. After release:

sudo apt-get update
sudo apt-get install ros-jazzy-rqt-multiplot
sudo apt-get install ros-lyrical-rqt-multiplot
sudo apt-get install ros-rolling-rqt-multiplot
Building from source

Tested on ROS 2 Jazzy, Lyrical, and Rolling. Put this repository in a colcon workspace src folder (clone or symlink), then:

cd ~/colcon_ws
rosdep install --from-paths src --ignore-src -y
colcon build --packages-select rqt_multiplot
source install/setup.bash
Usage

Standalone window (no rqt):

ros2 run rqt_multiplot multiplot

rqt plugin, either in its own rqt window or inside rqt (Plugins → Visualization → Multiplot):

ros2 run rqt_multiplot rqt_multiplot
rqt --force-discover

If the rqt plugin list or layout is broken:

rqt --clear-config

Load a configuration, a bag, and start plotting:

ros2 run rqt_multiplot multiplot \
  --multiplot-config file:///path/to/layout.xml \
  --multiplot-bag /path/to/bag \
  --multiplot-run-all

The rqt launcher needs -- before those flags.

OptionMeaning
--multiplot-config / -cXML layout URL
--multiplot-bag / -brosbag2 file or directory
--multiplot-run-all / -rStart all plots immediately
Plot interaction
InputAction
Left dragPan
Ctrl + left dragDraw a rectangle to zoom
Mouse wheelZoom in / out
Right clickOpen plot context menu
Shift + left clickPlace marker A, then B, then move the nearer one; a readout shows Δt and per curve y(A), y(B), Δy and slope
Drag a marker lineMove that marker
HomeReset zoom of all plots in the active tab
Hover (Points enabled)Crosshair; nearest-sample marker and readout with crosshair x, y plus each curve title / x, y
Click a legend itemToggle that curve's visibility
Drag a legend item onto another plotCopy that curve
Keyboard shortcuts

These apply while focus is inside the Multiplot window. The full list is under Help → Keyboard shortcuts (F1).

ShortcutAction
SpacePlay / pause all plots
Ctrl+Shift+DeleteClear all plots
HomeReset zoom in the active tab
Ctrl+T / Ctrl+WNew tab / close tab
Ctrl+PgDown / Ctrl+PgUpNext / previous tab
Alt+1 ... Alt+9Select tab 1-9
Ctrl+BTopic browser
Ctrl+Shift+FCurve filters
Ctrl+Shift+BCurve values (active tab)
Ctrl+GGrid (active tab)
Ctrl+I / Ctrl+Shift+IImport bag files / add bag files
Ctrl+EExport image

In the plot configuration dialog, the curve list uses Ctrl+A (select all), Ctrl+C (copy), Ctrl+V (paste), and Delete (remove selected).

Use the plot toolbar to run, pause, clear, configure, split (left / right / top / bottom), maximize, or close one plot. Drag a splitter handle to resize panes; those ratios are stored in the XML. The even-distribution button on the main toolbar resets splitter sizes in the active tab. Older row×column files still load.

Link Scale keeps axis ranges in sync across the plots. Link Cursor moves the crosshair on every plot. Track Points marks the nearest sample on each curve and shows a readout with the crosshair x, y and each curve title and x, y. The side-panel button (between Track Points and the time toggles) shows or hides Curve values for the active tab. The grid button turns plot grids on or off for the active tab.

The timer and calendar toggles set the X-axis time labels for the active tab: start from zero (default), date and time (HH:mm:ss.z / yyyy MMM dd), or raw timestamps. Only one of those two can be on; both off shows the timestamp. Array-index and other numeric X axes are unchanged. Set the date-time zone in File → Preferences (local system zone by default, UTC, or a named IANA zone). The choice is stored in the plot XML.

File — new / open / save / save as XML; import or add bag files or a bag directory; overlay 2 or 3 bags; export image or text; preferences. Closing with unsaved layout changes asks to save.

Preferences

File → Preferences has General (time zone) and Appearance (light/dark theme, plot-title font size, regular/bold, color). Title changes apply to the open plots so they can be checked before saving. Save as user defaults, or store them in the XML layout.

Configure a plot

Open the gear on a plot. Add curves, set axis titles, legend, plot rate, and an optional Time window (last N seconds for all curves when every X axis uses message receipt time or header stamp).

Configure plot

Edit a curve

Pick topic, message type, and field for each axis. X and Y can come from different topics.

Edit curve

Useful curve options:

  • Message receipt time — plot against the time the message arrived
  • rad → deg / deg → rad — convert the selected axis
  • Circular buffer / Time frame — keep a fixed number of points or the last n seconds

Whole-array fields use a different curve mode. See Array curves.

The Filters tab edits the curve filter chain for this curve: add, remove, reorder, and set parameters. The same editor is in the curve-filters sidebar.

Import a bag

Configure the curves first (topics and fields must match the bag). Import from bag files… reads every selected file in start-time order and replaces the curves. Add bag files… appends more files without clearing. Import from bag directory… and Add bag directory… do the same for one rosbag2 directory.

Supported storage: .mcap, .db3, and a rosbag2 directory. Adding a file again appends its points again. Clear, then Import, to start over.

Export

From the plot table or a single plot:

  • Image: PNG, SVG, PDF
  • Data: TXT (comment header) or CSV
Bag overlay

Compare the same curves from 2 or 3 recordings. File → Overlay bag files… reads .mcap or .db3 files. Fewer or more than that is rejected. The bags are ordered by start time. The earliest bag is the reference and fills the curves already on the plots. Each later bag adds a copy of every time-series curve. The plots pause when the read finishes.

BagDrawn asLegend
Reference (earliest)the curve's own penthe curve title
Seconddashed, same colortitle [name]
Thirddotted, same colortitle [name]

The legend name is the file name without the extension. Two files with the same name use folder/name.

Copies are shifted so the bag start times coincide. The shift is a time offset, and it applies only when X is message receipt time or a header stamp. Array curves are not copied. A filter chain on a curve also runs on its copies, and TXT/CSV export includes the copies with the bag name in the column title. One overlay is shared by every plot and every tab: the same bags, and the same offsets. Set up the curves first. A curve added later has no copy until you overlay again. The overlay is not stored in the XML. Import from bag files… removes it. Add bag files… keeps it.

File → Overlay offsets… lists each offset in seconds. The reference stays at 0. Change an overlay offset to slide that bag on every plot. The step is 0.1 s.

Right-click a plot to align from the data:

ActionWhat it does
Align overlay at markersPut marker A on a feature of the reference and marker B on the same feature of an overlay curve. The overlay moves until B lies on A, then the markers are cleared. With 3 bags the menu names each overlay bag, and only that bag moves. Both markers must be set
Align overlay at threshold…Enter a Y value. The dialog starts at the middle of the curve's Y range. Each overlay moves so its first crossing of that value is at the same time as the reference. With more than one curve, pick the curve first
Reset overlay alignmentRestore the start-time alignment

The crossing time is linearly interpolated between the samples on either side of the value, rising or falling. Alignment uses the plotted points, so an active filter chain counts. A bag that never reaches the value stays where it is, and a message names it. If the reference never crosses the value, no bag moves. An offset changed on one plot applies to that bag on all plots.

Array curves

A normal curve appends one point per message. An array curve replaces the whole series from that message: one point per element.

Both axes must use the same topic.

  • Array index — X or Y is 0..n-1 for the other axis’s array
  • Wildcard field — position/* or poses/*/position/x plots every element
  • Array fade — keep the last n snapshots and fade them. Disabled on time-series curves

A * path cannot mix with receipt time or a single scalar. position/0 stays a time series.

Array fade history

Sticks and lines with faded past snapshots Array index versus data

X array index, Y data/*

X array index, Y position/* Velocity versus position arrays

X velocity/, Y position/

ros2 run rqt_multiplot publish_array_demo.py
TopicTypeTry
/array_demo/floatsstd_msgs/Float32MultiArrayX array index, Y data/*
/array_demo/jointssensor_msgs/JointStateY position/* (length 4 ↔ 8)
/array_demo/covariancegeometry_msgs/PoseWithCovarianceY covariance/*
/array_demo/posesgeometry_msgs/PoseArrayX poses/*/position/x, Y poses/*/position/y
/array_demo/scansensor_msgs/LaserScanY ranges/*
Diagnostic messages

Diagnostic messages can be plotted from the /diagnostics//diagnostics_agg topic.

Range distance from /diagnostics with hardware_id filter CPU load diagnostic curve

CPU load from /diagnostics without hardware_id filter

ros2 run rqt_multiplot publish_diagnostics_demo.py

All on /diagnostics (diagnostic_msgs/DiagnosticArray). X: header/stamp or message receipt time; Y: Diagnostic value.

Status nameKeyHardware idNote
/Power System/BatteryVoltagepublished with Charger; duplicate every 5th message
/Power System/ChargerOutput current
/Motors/Front LeftPositionorder swaps with Front Right each message
/Motors/Front LeftWinding tempmissing every 4th message
/IMUYaw rateonly status in that message
/ComputerCPU loadtwo keys on one status
/GPSSatellitesabsent between publishes
/Sensors/RangeDistancefront or rearsame status name and key

In the topic browser, a DiagnosticArray topic has a Diagnostic values node. It lists each status (name [hardware_id]) and its keys. Drag a key, or a status for all its keys, onto a plot to add Diagnostic value curves. Live topics add new keys while checked. Bag topics scan up to 5000 messages.

Topic metrics

A curve axis can show a metric of its topic instead of a message field. In Edit curve, check Topic metric on Y and select the metric. X is usually message receipt time. Both axes must use the same topic.

GroupMetricsUnit
Raterate, period min, period max, period std devHz, s
Bandwidthbandwidth, message size mean, min, maxB/s, B
Delaydelay mean, min, max, std devs
  • The metrics use the same formulas as ros2 topic hz, bw, and delay. Period values are in seconds.
  • Window sets the number of most recent messages for the metric (default 100, range 2 to 10000).
  • The curve gets at most one point per 0.1 s of message time. The window restarts when the curve subscribes again.
  • Delay is receipt time minus header/stamp. Topics without a header give no delay points.
  • For a bag, receipt time is the recording time. Bag delay is therefore the delay at recording time, not the delay now.
  • Size and bandwidth use the serialized message size. For live topics this is the size on the wire of the local RMW.
Topic browser

A sidebar lists live topics and, after a bag import, the topics in that bag. Check a topic to show its fields. Drag a numeric field, a message, or an array onto a plot to add curves.

The tree-view button on the left of the plot area, or View → Topic browser, shows or hides the sidebar. Drag the splitter to set the width. Visibility and width are stored in the XML.

Topic browser

  • Filter matches the topic name or the type. The refresh button reloads live topics.
  • Live lists topics that are publishing. A checked topic stays listed after it stops.
  • Bag lists topics from the imported files, under Bags (N). Those field roots end with [bag]. Adding a bag keeps topics that were only in an earlier file.
  • A drop sets Y to the field and X to message receipt time. A wildcard array (position/*) uses array index on X. Dropping a message or an array adds one curve per numeric field. More than 10 curves asks first, except for a topic root drop.
  • A dropped array with listed elements asks for the curve mode: Array vs index (one wildcard curve per field, for example poses/*/position/x) or Individual curves (one curve over time per element and field, for example poses/3/position/x).
  • A dynamic array lists elements after one message arrives, up to 100.
  • Each topic has a Topic metrics node. Drag a metric, or the node for all metrics, onto a plot to add topic metric curves. Delay metrics show only for messages with a header.
  • Dropping a topic root opens a dialog with two lists: Metrics (none checked) and Fields. Numeric fields are checked. Arrays show as wildcard fields (position/*, array vs index) and are not checked. Only the checked items are added.
Curve filters

A filter chain transforms the Y values of one curve. Each filter takes the output of the one before it. X stays the sample time, except Moving average with Compensate lag, which places the point at the center of its window. The raw series is kept and replayed when the chain, a parameter, or a rad/deg conversion changes, so the plot, statistics, markers, cursor readout, curve-values sidebar, and CSV/TXT export all show the filtered series. The chain is stored in the curve XML.

Array snapshot curves (array vs index, wildcard fields) cannot take filters.

Open the sidebar with View → Curve filters, the filter button on the left rail, or Ctrl+Shift+F.

ActionResult
Drag a filter onto a plotAbsolute and Time since previous point apply to every curve that can take a filter. The others open a dialog for the parameters and which curves to include. Cancel adds nothing
Double-click a filterAppend it to the curve selected in the sidebar. Parameters are the defaults, or the last ones chosen for that type in a drop dialog
Right click a plot → Filter curves...Open the sidebar on a curve of that plot
Add filtered copyAdd a second curve on the same plot, titled name [filtered], with the same points and chain. The original curve does not change
FilterResultParameters
Derivativedy/dx. Drops the first point, and any point with no positive stepStep between points, or a fixed step
IntegralRunning integral of y over x (trapezoid). Starts at 0Step between points, or a fixed step
Moving averageMean of the last N samplesWindow size (default 10). Optional lag compensation
Moving RMSRoot mean square of the last N samplesWindow size (default 10)
Moving varianceVariance of the last N samples, or the standard deviationWindow size (default 10). Optional standard deviation
Low-passFirst-order low-pass. A larger time constant is smoother and lags moreTime constant (default 0.1 s)
Absolute|y|
Scale/offsety × scale + offsetScale (default 1), offset (default 0)
Threshold1 when the condition is true, else 0y = A, y < A, y ≤ A, y > A, y ≥ A, or A ≤ y ≤ B
Outlier removalDrops a one-sample spike larger than the factor times the step before it. Delays the curve by one sampleSpike factor (default 100)
Time since previous pointdx, the gap to the previous point. Drops the first point
Samples countNumber of samples in the last T milliseconds, this point includedWindow (default 1000 ms)
Markers

Each plot has two vertical markers, A and B, each with a tag at the top and bottom of the plot. When both are set, a readout next to them compares the curves at the two times. Use it to measure latency (command edge to response edge), rise time, or settling time against a value.

ActionInput
Place a markerShift + left click. The first click sets A, the second sets B, later clicks move the nearer marker
Place from the menuRight click → Set marker A here / Set marker B here
Move a markerDrag its line (the pointer changes near the line)
Remove both markersRight click → Clear markers, or clear the plot

The readout has one row per visible curve:

RowABΔΔ/Δt
t (or x)time at Atime at BΔt = B − A
curvey at Ay at BΔy = y(B) − y(A)slope Δy / Δt
  • y is linearly interpolated between the two samples around the marker, so it does not depend on the sample rate. A cell is empty when the marker is outside the curve's data.
  • Δ values are signed: B left of A gives a negative Δt. The slope shows – when Δt is 0.
  • Times use the same format as the X axis. The first row is x when the X axis is not time.
  • With Link Cursor on, the markers are shared by all plots in the tab, and a new plot from a split gets them too.
  • Markers and readout are part of the plot, so Copy image and Save image include them.
  • Markers are not stored in the XML. Clearing one plot removes its markers only.
Bugs and feature requests

Use the issue tracker (opens in a new tab).

Development
Distrobox

Distrobox (opens in a new tab) can be used to develop and test the package in a containerized environment for different ROS2 distributions.

Pre-built images with all build, test, and runtime dependencies live under distrobox/ (opens in a new tab). Build and create a container:

cd distrobox
./update.sh jazzy
distrobox enter rqt-multiplot-jazzy

Ubuntu images: jazzy, lyrical, rolling. RPM images, without clang: el9-jazzy, el10-lyrical, el10-rolling, fc43-lyrical, fc44-rolling.

./update.sh el9-jazzy
distrobox enter rqt-multiplot-el9-jazzy

Inside the container, build from your colcon workspace as usual.

Formatting

Check formatting:

colcon test --packages-select rqt_multiplot --ctest-args " -L" clang_format

Fix formatting issues:

find src include test \( -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -print0 \
  | xargs -0 clang-format-23 -i
Linting

Check linting:

colcon test --packages-select rqt_multiplot --ctest-args " -L" clang_tidy
Building

Build the package:

colcon build --packages-select rqt_multiplot
Testing

Run unit tests:

colcon test --packages-select rqt_multiplot --ctest-args " -L" "^(unit_testing|unit_testing_clang_tidy)$"
Coverage

Line and branch coverage for the C++ sources (src/ and include/). Run from the colcon workspace root:

./src/rqt_multiplot_plugin/scripts/coverage.sh

The HTML report is coverage/index.html. CI uploads that directory as the coverage-html artifact.

Debian packaging

In the distrobox, in the package folder.

Before doing anything, delete the debian/ and .obj-x86_64-linux-gnu folders.

rm -rf debian/ .obj-x86_64-linux-gnu/

Install dependencies:

rosdep install --from-paths src --ignore-src -r -y

Generate the debian files:

# noble/jazzy
bloom-generate rosdebian --os-name ubuntu --os-version noble --ros-distro jazzy
# resolute/lyrical
bloom-generate rosdebian --os-name ubuntu --os-version resolute --ros-distro lyrical
# resolute/rolling
bloom-generate rosdebian --os-name ubuntu --os-version resolute --ros-distro rolling

Generate the deb packages:

DEB_BUILD_OPTIONS=nocheck fakeroot debian/rules binary
RPM packaging

Run this in the matching RPM distrobox, from the package folder. Delete rpm/ first.

ImageROSGenerator
el9-jazzyJazzy on AlmaLinux 9bloom-generate rosrpm --os-name rhel --os-version 9 --ros-distro jazzy
el10-lyricalLyrical on AlmaLinux 10dynamic spec (scripts/generate_rosdynrpm.py)
el10-rollingRolling on AlmaLinux 10, ros2-testingdynamic spec
fc43-lyricalLyrical on Fedora 43, ros2-testingdynamic spec
fc44-rollingRolling on Fedora 44, ros2-testingdynamic spec

bloom-generate rosdynrpm in bloom 0.14.4 exits before it writes a spec. scripts/generate_rosdynrpm.py calls the same bloom library and sets the ROS package name and /opt/ros/<distro> prefix. scripts/build_continuous_rpm.sh generates the spec, rewrites Version: to the continuous version, and runs rpmbuild --without tests. Jazzy on AlmaLinux 9 uses the legacy rosrpm generator.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.