mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-01-03 05:20:31 -07:00
motan: Pass dataset parameters in parenthesis
Replace names like "trapq:toolhead:x" with "trapq(toolhead,x)". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
5fd1c9853d
commit
1e4041a96b
4 changed files with 97 additions and 70 deletions
|
|
@ -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".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue