code: def plot_all(yin, yinfast, yintapered, yinfft):
      fig, axes = plt.subplots(
          nrows=2, ncols=2, sharex=True, sharey="col"
      )
  
      axes[0, 0].plot(yin, label="yin")
      axes[0, 0].plot(yintapered, label="yintapered")
      axes[0, 0].set_ylim(bottom=0)
      axes[0, 0].legend()
      axes[1, 0].plot(yinfast, "-", label="yinfast")
      axes[1, 0].plot(yinfft, label="yinfft")
      axes[1, 0].legend()
  
      axes[0, 1].plot(cumdiff(yin), label="yin")
      axes[0, 1].plot(cumdiff(yintapered), label="yin tapered")
      axes[0, 1].set_ylim(bottom=0)
      axes[0, 1].legend()
      axes[1, 1].plot(cumdiff(yinfast), "-", label="yinfast")
      axes[1, 1].plot(cumdiff(yinfft), label="yinfft")
      axes[1, 1].legend()
  
      fig.tight_layout()
  
file_path: aubio/python/demos/demo_yin_compare.py
imports: import sys
  import numpy
  import matplotlib.pyplot
label_desc: Use image node_id 7 for calling a global function with example usage: plot_all(yin, yinfast, yintapered, yinfft) without return types