예제 #1
0
 def Graph_annotations():
     from CoolProp.Plots import PropsPlot, IsoLines
     plt = PropsPlot(fluid_ref, 'Ts')
     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.title('New Title')
     plt.xlabel('New x label')
     plt.ylabel('New y label')
     plt.show()
     plt = IsoLines(fluid_ref, 'Ts', 'P')
     plt.draw_isolines([100, 2000], num=5)
     plt.show()
예제 #2
0
 def Graph_annotations():
     from CoolProp.Plots import PropsPlot, IsoLines
     plt = PropsPlot(fluid_ref, 'Ts')
     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.title('New Title')
     plt.xlabel('New x label')
     plt.ylabel('New y label')
     plt.show()
     plt = IsoLines(fluid_ref, 'Ts', 'P')
     plt.draw_isolines([100, 2000], num=5)
     plt.show()