Did I find the right examples for you? yes no

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)

src/c/o/CoolProp-4.2.0/CoolProp/Plots/SimpleCycles.py   CoolProp(Download)
 
if __name__=='__main__':
    from CoolProp.Plots import Ph,Ts
 
    Ref='R290'
    fig=matplotlib.pyplot.figure(figsize=(4,3))
    ax=fig.add_axes((0.15,0.15,0.8,0.8))
    Ts(Ref,Tmin=273.15-100,sbounds=[0,600],axis=ax)
    COP=SimpleCycle(Ref,273.15-5,273.15+45,5,7,0.7,Ts_Ph='Ts')
    matplotlib.pyplot.show()

src/c/o/CoolProp-4.2.0/CoolProp/tests/test_plots.py   CoolProp(Download)
    def Ts_plot_tests():
        from CoolProp.Plots import Ts
        Ts(fluid_ref, show=False)
 
        from matplotlib import pyplot
        fig = pyplot.figure(2)
        ax = fig.gca()
        Ts(fluid_ref, show=False, axis=ax)
        plt.close()
        Ts(fluid_ref, show=False, Tmin=200, Tmax=300)
    def Isolines_plot_tests():
        from matplotlib import pyplot
        from CoolProp.Plots import Ts, drawIsoLines
        ax = Ts(fluid_ref)
        #ax.set_xlim([-0.5, 1.5])