code: def plotResidues(self, name=None, format="png"):
      df = self.getForecastDatasetForPlots()
      lTime = self.mTimeInfo.mTime
      # NormalizedTimeColumn;
      lPrefix = self.mSignal + "_"
      lPrefix2 = str(self.mOriginalSignal) + "_"
      if name is not None:
          tsplot.decomp_plot(
              df,
              lTime,
              self.mSignal,
              lPrefix + "Trend",
              lPrefix + "Trend_residue",
              name=name + "_trend",
              format=format,
          )
          tsplot.decomp_plot(
              df,
              lTime,
              lPrefix + "Trend_residue",
              lPrefix + "Cycle",
              lPrefix + "Cycle_residue",
              name=name + "_cycle",
              format=format,
          )
          tsplot.decomp_plot(
              df,
              lTime,
              lPrefix + "Cycle_residue",
              lPrefix + "AR",
              lPrefix + "AR_residue",
              name=name + "_AR",
              format=format,
          )
          tsplot.decomp_plot(
              df,
              lTime,
              self.mSignal,
              lPrefix + "TransformedForecast",
              lPrefix + "TransformedResidue",
              name=name + "_transformed_forecast",
              format=format,
          )
          tsplot.decomp_plot(
              df,
              lTime,
              self.mOriginalSignal,
              lPrefix2 + "Forecast",
              lPrefix2 + "Residue",
              name=name + "_forecast",
              format=format,
          )
      else:
          tsplot.decomp_plot(
              df,
              lTime,
              self.mSignal,
              lPrefix + "Trend",
              lPrefix + "Trend_residue",
          )
          tsplot.decomp_plot(
              df,
              lTime,
              lPrefix + "Trend_residue",
              lPrefix + "Cycle",
              lPrefix + "Cycle_residue",
          )
          tsplot.decomp_plot(
              df,
              lTime,
              lPrefix + "Cycle_residue",
              lPrefix + "AR",
              lPrefix + "AR_residue",
          )
          tsplot.decomp_plot(
              df,
              lTime,
              self.mSignal,
              lPrefix + "TransformedForecast",
              lPrefix + "TransformedResidue",
          )
          tsplot.decomp_plot(
              df,
              lTime,
              self.mOriginalSignal,
              lPrefix2 + "Forecast",
              lPrefix2 + "Residue",
          )
  
imports: import pandas
  import numpy
  from .None import PredictionIntervals
  from .None import Plots
  from .None import Perf
  from .None import Utils
label_desc: Use image node_id 16 for calling the cTimeSeriesModel obj's underlying member method code with example usage: obj.plotResidues(name, format) without return types