How To Input An Array Into A Function On A Graph