Skip to content

Chuangye-Wang/TernaryPlot

Repository files navigation

TernaryPlot

(1). Plotting 3d data in 2d ternary diagram. The 3 components are denoted by A, B, C.

Phase Diagram

(2). Magnify the selected red triangle in (1) to an equilateral triangle.

Phase Diagram

(3). For the theories behind mapping a arbitrary triangle to an equilateral triangle, one could refer to this discussion in stackexchange https://math.stackexchange.com/questions/541926/converting-triangles-to-isosceles-equilateral-or-right

(4). Quickly plot phase boundaries data with tielines_plot in plots.py.

There are two modes:

mode = 1: Plot the literature in the different colors and markers (does not show the phase information)

mode = 2: Plot the phases in different markers and the literature in different colors

Phase Diagram

Phase Diagram

EDS data and imagetools

(1). Heatmapping with a random array of size 100x100.

Phase Diagram

(2). Heatmapping of Nb element in Fe-Nb-Ni triple area. Select two points in the heatmap and plot the composition versus distance profiles.

Phase Diagram

Tojson

Transfer the data in the spreadsheet to the json file with required format for future thermodynamic assessment

Gui usage

Integrate the load data, view data, plotting heatmap, extracting datapoints, save data into a gui.

Phase Diagram Phase Diagram

About

Plotting 3d data in 2d ternary diagram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages