code: def createPlots(self):
      # This method creates the subplots, waveforms and labels.
      # Later, when the waveforms or sliders are dragged, only the
      # waveform data will be updated (not here, but below in setKnob).
      self.subplot1, self.subplot2 = self.figure.subplots(2)
      x1, y1, x2, y2 = self.compute(self.f0.value, self.A.value)
      color = (1.0, 0.0, 0.0)
      self.lines += self.subplot1.plot(x1, y1, color=color, linewidth=2)
      self.lines += self.subplot2.plot(x2, y2, color=color, linewidth=2)
      # Set some plot attributes
      self.subplot1.set_title(
          "Click and drag waveforms to change frequency and amplitude",
          fontsize=12,
      )
      self.subplot1.set_ylabel(
          "Frequency Domain Waveform X(f)", fontsize=8
      )
      self.subplot1.set_xlabel("frequency f", fontsize=8)
      self.subplot2.set_ylabel("Time Domain Waveform x(t)", fontsize=8)
      self.subplot2.set_xlabel("time t", fontsize=8)
      self.subplot1.set_xlim([-6, 6])
      self.subplot1.set_ylim([0, 1])
      self.subplot2.set_xlim([-2, 2])
      self.subplot2.set_ylim([-2, 2])
      self.subplot1.text(
          0.05,
          0.95,
          r"$X(f) = \mathcal{F}\{x(t)\}$",
          verticalalignment="top",
          transform=self.subplot1.transAxes,
      )
      self.subplot2.text(
          0.05,
          0.95,
          r"$x(t) = a \cdot \cos(2\pi f_0 t) e^{-\pi t^2}$",
          verticalalignment="top",
          transform=self.subplot2.transAxes,
      )
  
imports: import wx
  import numpy
  from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
  from matplotlib.figure import Figure
label_desc: Use image node_id 7 for calling the FourierDemoFrame obj's underlying member method code with example usage: obj.createPlots() without return types