add autoplot function for 1D numeric functions