Function to plot coloured tables in which each triangle represent a different category See merge request !56