plotting quadratic and cubic graphs - Search