In this repository you will find scripts that can help you to plot bivariate geochemical diagrams of SiO2 vs Major; MgO vs Major; SiO2 vs selected trace elements and MgO vs selected trace elements
Note: if you change the template file, please change the name in quotation marks (" ") in the variable st1 or where you find the command read.csv
This scripts comes with their respective .csv template file.
If you have any doubt about using this templates you can see the tutorial video in the YouTube page of Platicando de la Tierra (https://www.youtube.com/@platicandodelatierra)
Thanks for using these scripts hope that works for you teaching and research. Keep tune for more diagrams and scripts !