Skip to content
Myr

Add --titles option

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent c649d8d · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:scripts/plot_parametrized.py+6 added
19 unmodified lines
20)21parser.add_argument(22 "--log-time", help="Use a logarithmic time axis", action="store_true"23)24parser.add_argument(25 "--titles", help="Comma-separated list of titles for the plot legend"26)2728args = parser.parse_args()2930for filename in args.file:
16 unmodified lines
4748if args.log_x:49 plt.xscale("log")5051if args.titles:52 plt.legend(args.titles.split(","))5354plt.show()