20 Commits
Author SHA1 Message Date
David Peter ce49529780 Make plotting scripts runnable with uv 2026-10-07 11:27:41 +02:00
David Peter bdbfae9907 Alternative performance metrics in the terminal (#986) 2026-10-06 15:50:19 +02:00
David Peter e262cd6ea5 Support hardware counters in plotting scripts (#984) 2026-10-06 09:09:18 +02:00
David Peter ef86c830b5 Support all exported metrics in plotting scripts (#981) 2026-10-05 22:48:06 +02:00
David Peter 0d86e78ede Refine JSON schema and command metadata 2026-10-05 18:11:10 +02:00
David Peter 1b3ec922fa Export metric summaries and adapt analysis scripts 2026-10-05 16:59:35 +02:00
David Peter bc37eff924 Sort imports 2024-08-28 17:01:09 +02:00
David Peter cfae9cbdab Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
David Peter 65dd84fb07 Update formatting, use f-strings 2024-08-28 16:41:58 +02:00
ef9e1409c6 add: legend modification parameters and output DPI (#758)
* add: legend modification parameters and output DPI

This commit adds a CLI parameter to plot_histogram in order to position
the legend of the plot on the diagram.
It also defines the output DPI for the plot to 600 dpi.

Plot_progression gets a CLI paramter to add a custom label and to
overwrite the default one.

---------

Co-authored-by: dbv <[email protected]>
Co-authored-by: dbv <[email protected]>
2024-07-17 20:40:12 +02:00
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