Added custom traceplot function to add coloured denisty lien