code: def plot_results():
      from matplotlib import pyplot as plt
  
      plt.figure(figsize=(7, 7))
  
      baseline = (
          pd.read_csv("a57a09fe62a62fe0d2564a056f7fd99f58822312.dat")
          .groupby("length")
          .duration.mean()
      )
  
      for file_name in glob("*.dat"):
          df = pd.read_csv(file_name).groupby("length").duration.mean()
  
          plt.subplot(211)
          df.plot(label=file_name.replace(".dat", ""))
  
          plt.subplot(212)
          (baseline / df).plot(label=file_name.replace(".dat", ""))
  
      plt.subplot(211)
      plt.xlabel("DataFrame Length")
      plt.ylabel("Extract Features Mean Duration")
      plt.legend()
  
      plt.subplot(212)
      plt.xlabel("DataFrame Length")
      plt.ylabel("Speedup")
      plt.gca().axhline(1, color="black", ls="--")
      plt.legend()
  
      plt.savefig("timing.png")
  
imports: import time
  from glob import glob
  from subprocess import check_output
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: plot_results() without return types