Plots mathematical functions on a scalable graph