def METHOD_NAME():
  try:
    # lineout 2 {
    # Set active window to one containing Lineout curve plots (typically #2)
    SetActiveWindow(2)
    # Get array of x,y pairs for first curve plot in window
    SetActivePlots(0)
    hg_vals = GetPlotInformation()["Curve"]
    # Get array of x,y pairs for second curve plot in window
    SetActivePlots(1)
    avf_vals = GetPlotInformation()["Curve"]
    # Get array of x,y pairs for third curve plot in window
    SetActivePlots(2)
    rad_vals = GetPlotInformation()["Curve"]
    # Write it as CSV data to a file
    for i in range(int(len(hg_vals) / 2)):
        idx = i*2+1 # take only y-values in each array
        print("%g,%g,%g" % (hg_vals[idx], avf_vals[idx], rad_vals[idx]))
    # lineout 2 }
    TestValueEQ('lineout 2 error message',GetLastError(),'')
    TestPOA('lineout 2 exceptions')
  except Exception as inst:
    TestFOA('lineout 2 exception "%s"'%str(inst), LINE())
    pass
  DeleteWindow()
  vqr_cleanup()