Example #1
0
 elif figure == "badinfo":
     plot_heatmap(datas,
                  fig,
                  map2badinfo,
                  "bad info",
                  flat=args.flat,
                  grid=grid)
 elif figure == "realinfo":
     plot_heatmap(datas,
                  fig,
                  map2realinfo,
                  "real info",
                  flat=args.flat,
                  grid=grid)
 elif figure == "success_avg":
     plot_toN(datas, fig, map2success_avg, "Successes")
 elif figure == "liarpos":
     plot_heatmap(datas,
                  fig,
                  map2liarpos_heat,
                  "liar amount",
                  flat=args.flat,
                  grid=grid,
                  ns=d_list,
                  ds=list(range(0, 50, 2)) + d_list,
                  xlabel="run.D",
                  ylabel="D")
 elif figure == "liardepth":
     plot_heatmap(datas,
                  fig,
                  map2liardepth_heat,
Example #2
0
 elif figure == "badinfo":
     plot_heatmap(datas,
                  fig,
                  map2badinfo,
                  "bad info",
                  flat=args.flat,
                  grid=grid)
 elif figure == "realinfo":
     plot_heatmap(datas,
                  fig,
                  map2realinfo,
                  "real info",
                  flat=args.flat,
                  grid=grid)
 elif figure == "success_avg":
     plot_toN(datas, fig, map2success_avg, "Success probability")
 elif figure == "liarpos":
     plot_heatmap(datas,
                  fig,
                  map2liarpos_heat,
                  "Error amount (average)",
                  flat=args.flat,
                  grid=grid,
                  ns=d_list,
                  ds=list(range(0, 50, 2)) + d_list,
                  xlabel="Dimension of matrix (D)",
                  ylabel="Index")
 elif figure == "liardepth":
     plot_heatmap(datas,
                  fig,
                  map2liardepth_heat,