結果 : create graph from function