Compare commits
2 Commits
692c2b55f5
...
9d3b64744f
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d3b64744f | |||
| 42b99f6527 |
@@ -1,7 +1,7 @@
|
|||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
import matplotlib.dates as mdates
|
import matplotlib.dates as mdates
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
import os
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ def plot_power_data(csv_path, output_path, plot_types):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser(description="Generate a plot from an Odroid PowerMate CSV log file.")
|
parser = argparse.ArgumentParser(description="Generate a plot from an Odroid Smart Power CSV log file.")
|
||||||
parser.add_argument("input_csv", help="Path to the input CSV log file.")
|
parser.add_argument("input_csv", help="Path to the input CSV log file.")
|
||||||
parser.add_argument("output_image", help="Path to save the output plot image (e.g., plot.png).")
|
parser.add_argument("output_image", help="Path to save the output plot image (e.g., plot.png).")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|||||||
Reference in New Issue
Block a user