How can i plot a state in TS diagram from PropertyPlot

198 views
Skip to first unread message

Sino-Atrial Node

unread,
Aug 9, 2021, 5:46:16 AM8/9/21
to coolprop-users
from CoolProp.Plots import PropertyPlot

plot = PropertyPlot("Water", 'Ph')
plot.calc_isolines()
plot.show()

Now i want to show/mark a certain point (P, h) on the plot as well. How do i do that

Sino-Atrial Node

unread,
Aug 9, 2021, 2:02:12 PM8/9/21
to coolprop-users
I found this solution.
ax = plot.axis
ax.text(h, p, ' 1', fontsize=10, rotation=0, color='r')
Reply all
Reply to author
Forward
0 new messages