library(knitr)
## use pngquant to reduce size of PNG images
knit_hooks$set(pngquant = hook_pngquant)
pngquant <- "--speed=1 --quality=0-25"
# in case pngquant isn't available
if (!nzchar(Sys.which("pngquant"))) pngquant <- NULL 

This vignette runs the code to make selected plots from the following paper:

Dick JM. 2019. CHNOSZ: Thermodynamic calculations and diagrams for geochemistry. Frontiers in Earth Science 7: 180. doi: 10.3389/feart.2019.00180

This vignette was compiled on r Sys.Date() with JMDplots r packageDescription("JMDplots")$Version and CHNOSZ r packageDescription("CHNOSZ")$Version.

library(JMDplots)

Mosaic Eh-pH diagram for the Cu-S-Cl-O-H system (Figure 4)

chnosz104()

Corundum solubility diagram (Figure 5)

chnosz105()

DEW model (based on Fig. 3 of Sverjensky et al., 2014) (Figure 6)

chnosz106()

Thermodynamic properties of reactions involving Al-bearing minerals (Figure 7)

chnosz107()


jedick/JMDplots documentation built on April 12, 2025, 1:35 p.m.