search for min fxn values, then plot