Function and graph