Function plotting (WIP)