Plotting Diagrams
Plotting a diagram is to graphically represent how several variables (typically two variables) co-vary. Each axis in a property diagram or a phase diagram represents the value of one variable. The default variables represented by the X- and Y-axes are the following:
- If you plot a diagram based on the results of a mapping operation (a phase diagram), then by default the X- and Y-axes represent the mapping axis variables 1 and 2 (set using SET_AXIS_VARIABLE in POLY).
- If you plot a diagram based on the results of a stepping operation (a property diagram), then by default, the X-axis represents the stepping variable (set using SET_AXIS_VARIABLE) and the Y-axis represents the sum of the mole fractions of all phases (that is, NP(*)).

To plot a diagram, you must have already made a stepping or mapping operation in POLY (or in some cases, made a calculation as part of some opening a response-driven module), and you must have entered the POST module.
The POST command is available inside POLY. Use POST to enter the POST module
- If you want to directly plot your diagram with the default variables represented by the X- and Y-axes, type
Plot
and press <Enter>. This plots a property or phase diagram with the default variables represented at each axis. If you do not want to plot your diagram with these default variables, go to the next step. - Use SET_DIAGRAM_AXIS to set which variables to plot on the X-axis and the Y-axis. For example, if you want to plot a phase diagram with pressure on the Y-axis and temperature on the X-axis, type:
SET_DIAGRAM_AXIS X T
SET_DIAGRAM_AXIS Y P
- Use PLOT_DIAGRAM to plot your diagram.