Commit Graph

10 Commits

Author SHA1 Message Date
David Peter
77e7b6cd65 Add --log-count option to plot_histogram.py 2023-04-17 22:27:28 +02:00
David Peter
0601a1971e Add --t-min/--t-max to histogram script 2022-02-27 20:11:13 +01:00
Benjamin Rosemann
49fcc4be37 Change parameter name in plotting scripts
Change the parameter `imagname` to `output` and provide `-o` shortcut.
2021-02-16 08:21:45 +01:00
Benjamin Rosemann
b04a9ec6c4 Add parameters to plotting scripts
Add `imgname` parameter to be able to save a plot to a file instead of
showing it. Use-case: platforms without GUI like docker containers.

Add `labels` parameter to histogram plot. Use-case: replacing long
commands with human friendly labels.
2021-02-16 08:21:45 +01:00
muxator
5a80a23bdc scripts: modify shebang to use "/usr/bin/env python"
Before this patch, executing directly one of these scripts, for example
`./plot_hystogram.py` in a unix-like environment meant that the default
system-level python would be used, regardless of an eventual activated
virtualenv.

This was due to the "#!/usr/bin/python" shebang.
Changing it to "/usr/bin/env python" is a fairly standard practice, keeps intact
the compatiblity with the system level python, and allows a user to run in a
virtualenv if he wants.
2020-10-13 12:49:36 +02:00
sharkdp
d441eefd1d plot_histogram.py: add --type and --bins 2020-04-02 18:59:32 +02:00
sharkdp
dab1da98b6 Fix computation of min/max time range 2020-04-02 18:59:32 +02:00
sharkdp
8fff8643e0 Auto-format Python scripts 2020-04-01 09:35:09 +02:00
David Peter
a3f0278074 Show the full range in histograms
Branch: master
2020-01-23 13:04:15 +01:00
sharkdp
ef8a16622d Add a script to plot histograms 2019-10-15 17:49:59 +02:00