예제 #1
0
 def Isolines_plot_tests():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(fluid_ref, 'Ts')
     plt.set_axis_limits([-0.5, 1.5, 300, 530])
     plt.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
     plt.draw_isolines('P', [100, 2000], num=5)
     plt.draw_isolines('D', [2, 600], num=7)
     plt.show()
예제 #2
0
def Isolines_plot_tests():
    from CoolProp.Plots import PropsPlot
    PP = PropsPlot(fluid_ref, 'Ts')
    PP.set_axis_limits([-0.5, 1.5, 300, 530])
    PP.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
    PP.draw_isolines('P', [100e3, 2000e3], num=5)
    PP.draw_isolines('D', [2, 600], num=7)
    PP._draw_graph()
예제 #3
0
 def Isolines_plot_tests():
     from CoolProp.Plots import PropsPlot
     plt = PropsPlot(fluid_ref, 'Ts')
     plt.set_axis_limits([-0.5, 1.5, 300, 530])
     plt.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
     plt.draw_isolines('P', [100, 2000], num=5)
     plt.draw_isolines('D', [2, 600], num=7)
     plt.show()
예제 #4
0
def Graph_annotations_tests():
    from CoolProp.Plots import PropsPlot, IsoLines
    PP = PropsPlot(fluid_ref, 'Ts')
    PP.set_axis_limits([-0.5, 1.5, 300, 530])
    PP.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
    PP.draw_isolines('P', [100e3, 2000e3], num=5)
    PP.draw_isolines('D', [2, 600], num=7)
    plt.title('New Title')
    PP.xlabel('New x label')
    PP.ylabel('New y label')
    PP = IsoLines(fluid_ref, 'Ts', 'P')
    PP.draw_isolines([100e3, 2000e3], num=5)
    PP._draw_graph()