Changed Demo Graph Function