From 1e4041a96badaf29533879a2c353981da60cbc67 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 24 Aug 2021 13:40:47 -0400 Subject: motan: Pass dataset parameters in parenthesis Replace names like "trapq:toolhead:x" with "trapq(toolhead,x)". Signed-off-by: Kevin O'Connor --- docs/Debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/Debugging.md') diff --git a/docs/Debugging.md b/docs/Debugging.md index a0e15322..a9d35383 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -122,7 +122,7 @@ Graphs can be generated with a command like the following: One can use the `-g` option to specify the datasets to graph (it takes a Python literal containing a list of lists). For example: ``` -~/klipper/scripts/motan/motan_graph.py mylog -g '[["trapq:toolhead:velocity"], ["trapq:toolhead:accel"]]' +~/klipper/scripts/motan/motan_graph.py mylog -g '[["trapq(toolhead,velocity)"], ["trapq(toolhead,accel)"]]' ``` The list of available datasets can be found using the `-l` option - @@ -134,7 +134,7 @@ for example: It is also possible to specify matplotlib plot options for each dataset: ``` -~/klipper/scripts/motan/motan_graph.py mylog -g '[["trapq:toolhead:velocity?color=red"]]' +~/klipper/scripts/motan/motan_graph.py mylog -g '[["trapq(toolhead,velocity)?color=red&alpha=0.4"]]' ``` Many matplotlib options are available; some examples are "color", "label", "alpha", and "linestyle". -- cgit v1.2.3-70-g09d2