Numerical function drawing