Add plot of mathematical function