This repository contains a Jupyter Notebook for analyzing and visualizing data using ternary plots.
ternary_fig_share.ipynb
: The main Jupyter Notebook containing the code and explanations for creating ternary plots.
To run the notebook, you will need the following Python packages installed:
numpy
pandas
matplotlib
seaborn
ternary
cartopy
gdal
Prepare your data for ternary plotting.
The dataset should contain three TIFF files representing the proportions of three factors (summing to 1).
boundaries.shp (省.shp and 十段线.shp in notebook)
Please note that the map and legend are drawn separately and need to be combined later.