This function generates a graph from the ECOS Runsalt model output data when temperature is held constant.
This file is obtained via Runsalt plot menu: Plot > Export Plot Data...
Arguments
- ECOS_output
A character string specifying the path to the Runsalt output file. This file is obtained via Runsalt plot menu: Plot > Export Plot Data...
- Temp_value
Numeric. Temperature in degrees Celsius. Default is 20.
- add_crystal
Logical. Whether to add crystallisation point labels to the graph. Default is TRUE.
- add_eqm
Logical. Whether to add equilibrium point labels to the graph. Default is FALSE.
See also
tidyRunsalt for tidying the Runsalt output before graphing.
Examples
if (FALSE) { # \dontrun{
# Graph Runsalt output file with default temperature (20 C)
graph_salt_balance("path/to/runsalt/output.txt")
# Interactive file selection, custom temperature
graph_salt_balance(file.choose(), Temp_value = 15)
# Graph with no crystallisation labels but equilibrium labels
graph_salt_balance(file.choose(), Temp_value = 15, add_crystal = FALSE, add_eqm = TRUE)
} # }
