Diagrams of Thermodynamic State of Water

Plot T,s; h,s or log p,h-Diagrams of Water within MATLAB

You are now following this Submission

You can plot your own T,s; h,s or log p,h-Diagrams of water in MATLAB with the function thermo_diagram_plot.m.

The function makes use of Magnus Holmgrens work available at http://www.mathworks.com/matlabcentral/fileexchange/9817.

Only SI-Units are supported

The function is a product of a project at our school to help students understand these diagrams more deeply and to become handier with MATLAB. The function can be used to plot your own diagrams and draw in some thermodynamic cycle.

Please refer to the manual in the .zip file for a throughout documentation of the function.

Cite As

Fabian (2026). Diagrams of Thermodynamic State of Water (https://www.mathworks.com/matlabcentral/fileexchange/24903-diagrams-of-thermodynamic-state-of-water), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Updated version with fixed error for logarithmic minor tick spacing on logp-h plots

1.0.0.0