# =============================================================
#		MODULE: plots
# =============================================================
module plots
	using PGFPlots

	# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	#		FUNCTION : TERNARY
	# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	function TERNARY(Path,  Sand, Silt, Clay)
		# Work in progress labels not sure
		Plot_SandSiltClay=TernaryAxis(Plots.Linear3(Sand,Silt,Clay,style="solid, blue, thick", onlyMarks=true),
		style="ternary limits relative=false",
		xlabel=L"Silt", ylabel=L"Clay", zlabel=L"Sand")
	
		save(Path, Plot_SandSiltClay)

		# label=L"Sand %", ylabel=L"Silt %", zlabel=L"Clay%"
	
	end  # function TERNARY


	
end  # module plots
# ............................................................