plot growth of function. -- storing func as value in dict