2 Commits

Author SHA1 Message Date
692c2b55f5 example: add .gitignore
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-11-20 09:07:34 +09:00
0765c47e4a example: add plot option
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-11-20 09:07:34 +09:00

View File

@@ -1,7 +1,7 @@
import argparse
import matplotlib.dates as mdates
import matplotlib.pyplot as plt
import os
import pandas as pd
@@ -88,7 +88,7 @@ def plot_power_data(csv_path, output_path, plot_types):
def main():
parser = argparse.ArgumentParser(description="Generate a plot from an Odroid Smart Power CSV log file.")
parser = argparse.ArgumentParser(description="Generate a plot from an Odroid PowerMate 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(