Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coolprop plot problems
#1
Hey,
I have some problems with the library coolpack. I want to add them minor and major lines and to change the numbers from 10^x to real numbers .. does anybody know how to do that? I also want to change the scale and tickz and to add some lables for the isotherm and isobar lines, like in a standard ph-Diagramm.
That is my current code:

import CoolProp

from CoolProp.Plots import PropertyPlot
plot = PropertyPlot('R1234yf', 'ph', unit_system='EUR')
plot.title('R1234yf log p-h Diagramm')
plot.xlabel(r's $[{kJ}/{kg K}]$')
plot.ylabel(r'T $[K]$')
plot.calc_isolines(num=20)
plot.show()
Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to plot intraday data of several days in one plot mistermister 3 2,854 Dec-15-2020, 07:43 PM
Last Post: deanhystad
  How to import the name of the fluid in CoolProp from an yml file termo 0 1,796 Sep-26-2019, 01:32 PM
Last Post: termo
  How to plot vertically stacked plot with same x-axis and SriMekala 0 1,884 Jun-12-2019, 03:31 PM
Last Post: SriMekala

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020