
from Modules.processing import *
from Modules.plotting import *

set_sns()
save = True
savetype = ".eps"
show = True

def main():
    plot_perf_curves(save=save, savetype=savetype)
    plot_perf_curves(subplots=False, save=save, savetype=savetype)
    plot_perf_re_dep(save=save, savetype=savetype, errorbars=False, 
                     dual_xaxes=True)
    PerfCurve(1.0).plotcp(save=save, savetype=savetype, show=False)
    wm = WakeMap()
    wm.plot_meancontquiv(save=save, savetype=savetype)
    wm.plot_k(save=save, savetype=savetype)
    plot_no_blades_all(save=save, savetype=savetype)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=False)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=True)
    if show:
        plt.show()

if __name__ == "__main__":
    if not os.path.isdir("Figures"):
        os.mkdir("Figures")
    main()

from Modules.processing import *
from Modules.plotting import *

set_sns()
save = True
savetype = ".eps"
show = True

def main():
    plot_perf_curves(save=save, savetype=savetype)
    plot_perf_curves(subplots=False, save=save, savetype=savetype)
    plot_perf_re_dep(save=save, savetype=savetype, errorbars=False, 
                     dual_xaxes=True)
    PerfCurve(1.0).plotcp(save=save, savetype=savetype, show=False)
    wm = WakeMap()
    wm.plot_meancontquiv(save=save, savetype=savetype)
    wm.plot_k(save=save, savetype=savetype)
    wm.make_K_bar_graph(save=save, savetype=savetype)
    plot_no_blades_all(save=save, savetype=savetype)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=False)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=True)
    if show:
        plt.show()

if __name__ == "__main__":
    if not os.path.isdir("Figures"):
        os.mkdir("Figures")
    main()
Make K transport bar graph
Make K transport bar graph

  
  from Modules.processing import *
  from Modules.plotting import *
  
  set_sns()
  save = True
  savetype = ".eps"
  show = True
  
  def main():
      plot_perf_curves(save=save, savetype=savetype)
      plot_perf_curves(subplots=False, save=save, savetype=savetype)
      plot_perf_re_dep(save=save, savetype=savetype, errorbars=False, 
                       dual_xaxes=True)
      PerfCurve(1.0).plotcp(save=save, savetype=savetype, show=False)
      wm = WakeMap()
      wm.plot_meancontquiv(save=save, savetype=savetype)
      wm.plot_k(save=save, savetype=savetype)
+     wm.make_K_bar_graph(save=save, savetype=savetype)
      plot_no_blades_all(save=save, savetype=savetype)
      plot_cp_covers(save=save, savetype=savetype, add_strut_torque=False)
      plot_cp_covers(save=save, savetype=savetype, add_strut_torque=True)
      if show:
          plt.show()
  
  if __name__ == "__main__":
      if not os.path.isdir("Figures"):
          os.mkdir("Figures")
      main()
Make K transport bar graph
## Code Before:

from Modules.processing import *
from Modules.plotting import *

set_sns()
save = True
savetype = ".eps"
show = True

def main():
    plot_perf_curves(save=save, savetype=savetype)
    plot_perf_curves(subplots=False, save=save, savetype=savetype)
    plot_perf_re_dep(save=save, savetype=savetype, errorbars=False, 
                     dual_xaxes=True)
    PerfCurve(1.0).plotcp(save=save, savetype=savetype, show=False)
    wm = WakeMap()
    wm.plot_meancontquiv(save=save, savetype=savetype)
    wm.plot_k(save=save, savetype=savetype)
    plot_no_blades_all(save=save, savetype=savetype)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=False)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=True)
    if show:
        plt.show()

if __name__ == "__main__":
    if not os.path.isdir("Figures"):
        os.mkdir("Figures")
    main()
## Instruction:
Make K transport bar graph
## Code After:

from Modules.processing import *
from Modules.plotting import *

set_sns()
save = True
savetype = ".eps"
show = True

def main():
    plot_perf_curves(save=save, savetype=savetype)
    plot_perf_curves(subplots=False, save=save, savetype=savetype)
    plot_perf_re_dep(save=save, savetype=savetype, errorbars=False, 
                     dual_xaxes=True)
    PerfCurve(1.0).plotcp(save=save, savetype=savetype, show=False)
    wm = WakeMap()
    wm.plot_meancontquiv(save=save, savetype=savetype)
    wm.plot_k(save=save, savetype=savetype)
    wm.make_K_bar_graph(save=save, savetype=savetype)
    plot_no_blades_all(save=save, savetype=savetype)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=False)
    plot_cp_covers(save=save, savetype=savetype, add_strut_torque=True)
    if show:
        plt.show()

if __name__ == "__main__":
    if not os.path.isdir("Figures"):
        os.mkdir("Figures")
    main()