PlotJuggler: custom plots, filters and transformations
Things you will learn
Ready to use data filters for your every day needs.
Write your own function using Lua.
Analyze data with Filters
Right click
with the mouse and open "Apply filter to data..."
You can apply a filter to any of the timeseries in the plot, for instance try the "Derivative" or "Scale/Offset"
Custom timeseries 1/X
You can create a custom timeseries using Lua.
Drag and Drop an "input timeseries" and write the body of the function that will transform the input into a new series.
Check
Learn Lua in 15 minutes
, but you can stop after 5 minutes :)
Custom timeseries 2/X
You can use
multiple inputs
, but keep in mind that all the data points MUST share the same time axis.
Use the "
Function Library
" to save/load reusable functions. Double-click on the name of a function to load it.
Custom timeseries 3/X
When your function
returns a single value
(most common case) the new data point will use the same time as the input (X) but the returned value (Y).
If your
return two values
, the first is the new time and the second is the new value.
To skip a point,
return no values
with "{}"
Custom timeseries 4/X
Currently, PlotJuggler uses Lua 5.4
You can use any of the
Mathematical functions
.
Made with Slides.com