code: def parse_args():
      parser = argparse.ArgumentParser(description="Plotting Example")
  
      parser.add_argument(
          "--data",
          "-d",
          default="../../datas/2006-day-001.txt",
          help="data to add to the system",
      )
  
      parser.add_argument(
          "--fromdate",
          "-f",
          default="2006-01-01",
          help="Starting date in YYYY-MM-DD format",
      )
  
      parser.add_argument(
          "--todate",
          "-t",
          default="2006-12-31",
          help="Starting date in YYYY-MM-DD format",
      )
  
      parser.add_argument(
          "--stdstats",
          "-st",
          action="store_true",
          help="Show standard observers",
      )
  
      parser.add_argument(
          "--smasubplot",
          "-ss",
          action="store_true",
          help="Put SMA on own subplot/axis",
      )
  
      parser.add_argument(
          "--nomacdplot",
          "-nm",
          action="store_true",
          help="Hide the indicator from the plot",
      )
  
      group = parser.add_mutually_exclusive_group(required=False)
  
      group.add_argument(
          "--rsioverstoc",
          "-ros",
          action="store_true",
          help="Plot the RSI indicator on the Stochastic axis",
      )
  
      group.add_argument(
          "--rsioversma",
          "-rom",
          action="store_true",
          help="Plot the RSI indicator on the SMA axis",
      )
  
      group.add_argument(
          "--stocrsi",
          "-strsi",
          action="store_true",
          help="Plot the Stochastic indicator on the RSI axis",
      )
  
      parser.add_argument(
          "--stocrsilabels",
          action="store_true",
          help="Plot line names instead of indicator name",
      )
  
      parser.add_argument(
          "--numfigs",
          "-n",
          default=1,
          help="Plot using numfigs figures",
      )
  
      return parser.parse_args()
  
file_path: backtrader/samples/plot-same-axis/plot-same-axis.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: parser